Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/ruby19.rb
Overview
A collection of backports from Ruby 1.9 to ruby 1.8
Instance Method Summary collapse
Instance Method Details
#ruby18(&block) ⇒ Object
4 5 6 |
# File 'lib/ruby19.rb', line 4 def ruby18 &block block.call if RUBY_VERSION.to_f == 1.8 end |