Sha256: bcf1a7331b419f442739e3009e0ea09046473e9384bf21dfdb95942aef0c5e9a

Contents?: true

Size: 141 Bytes

Versions: 3

Compression:

Stored size: 141 Bytes

Contents

# A collection of backports from Ruby 1.9 to ruby 1.8

class Object
  def ruby18 &block
    block.call if RUBY_VERSION.to_f == 1.8
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
elia-2.4.2.pre lib/ruby19.rb
elia-2.4.1 lib/ruby19.rb
elia-2.3.2 lib/ruby19.rb