A look at the new features shows a few API changes that were introduced in Ruby 1.9, but have been backported to Ruby 1.8.7:
- Enumerable::Enumerator is a feature of Ruby 1.9 to bring external iterators to Ruby (these come in addition to the internal iteration methods in the Enumerable mixin). Some of the methods in Enumerable have also been updated to behave more like in Ruby 1.9, e.g. returning Enumerators if no blocks are given.
- Object#tap
- Symbol#to_proc
- Process.exec
- etc.
For everyone testing multiple Ruby versions, we reported about using Multiruby to test Ruby applications on different Ruby versions.