Sha256: adfb2b24510333deadff116c8d8c2f5288faf31379e85bf582424da01722fbd3
Contents?: true
Size: 317 Bytes
Versions: 3
Compression:
Stored size: 317 Bytes
Contents
# methods for String that aren't available in ruby 1.8.6 (used by ey_resin) # versions here are just workarounds # FIXME remove this module when ey_resin (and .rvmrc) updated to ruby 1.8.7 or 1.9.2 module ModernString def start_with?(prefix) self.index(prefix) == 0 end end String.send(:include, ModernString)
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
engineyard-serverside-1.4.9.nodestack | lib/core-ext/string.rb |
engineyard-serverside-1.4.8.nodestack | lib/core-ext/string.rb |
engineyard-serverside-1.4.7.pre | lib/core-ext/string.rb |