Posted by naruse on 25 Dec 2016
We are pleased to announce the release of Ruby 2.4.0.
Ruby 2.4.0 is the first stable release of the Ruby 2.4 series.
It introduces many new features, for example:
Improve the internal structure of hash table (st_table) by introducing open addressing
and an inclusion order array.
This improvement has been discussed with many people, especially with Yura Sokolov.
Binding#irb: Start a REPL session similar to binding.pry
While you are debugging, you may often use p to see the value of variables.
With pry you can use binding.pry in your application
to launch a REPL and run any Ruby code.
introduces binding.irb which behaves like that with irb.
Though ISO/IEC 30170:2012
doesn’t specify details of the Integer class,
Ruby had two visible Integer classes: Fixnum and Bignum.
Ruby 2.4 unifies them into Integer.
All C extensions which touch the Fixnum or Bignum class need to be fixed.
See also the ticket and akr’s slides.
String/Symbol#upcase/downcase/swapcase/capitalize(!) now handle
Unicode case mappings instead of