Sha256: ac94b10c625daeb765b7ae28502c86a3d52a3c68ba123819c094bcd2cd9a5904
Contents?: true
Size: 429 Bytes
Versions: 1
Compression:
Stored size: 429 Bytes
Contents
begin # See http://bogomips.org/fast_xs/ by Eric Wong. # Also included with hpricot. require 'fast_xs' rescue LoadError # fast_xs extension unavailable else begin require 'active_support/vendor/builder' rescue LoadError # builder demands the first shot at defining String#to_xs end class String alias_method :original_xs, :to_xs if method_defined?(:to_xs) alias_method :to_xs, :fast_xs end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
recliner-0.0.1 | vendor/activesupport/lib/active_support/core_ext/string/xchar.rb |