The stable version of MRI 1.9.2 will be released soon. Let's compare the differences between the latest ruby and the legacy ruby.
Here this is the diff of the public methods of Kernel class on ruby 1.9.2dev and 1.8.7. I just used such command:
ruby -ve 'puts Kernel.public_methods.sort'.
The differences were more than I thought.
!became a method from a build-in operator
- Some mathematical libraries are now build-in
Kernel.chompworked like Perl, targetting
$_, but now it was eliminated
class_variable_get/setis now available besides