Sha256: 5210bc22b325d9e1ec44f72e38f6f228a0ee088d11c408c2d79c8e13e7734f2e
Contents?: true
Size: 229 Bytes
Versions: 12
Compression:
Stored size: 229 Bytes
Contents
# # make ruby 1.9 act more like ruby 1.8 # unless String.method_defined?(:to_a) class String def to_a; [self]; end end end unless String.method_defined?(:any?) class String def any?; self.chars.any?; end end end
Version data entries
12 entries across 12 versions & 1 rubygems