16 posts on Ruby 2.5.
View the blog →2018
- Ruby 2.5 added lazy proc allocation for block parameters
- Ruby 2.5 adds Thread.report_on_exception by default
- Ruby 2.5 supports measuring branch and method coverages
- Ruby 2.5 adds Exception#full_message method
- Ruby 2.5 prints backtrace & error message in reverse
- Ruby 2.5 added Hash#slice method
- Ruby 2.5 allows creating structs with keyword arguments
- Ruby 2.5 adds Hash#transform_keys method
- Ruby 2.5 enumerable predicates accept pattern argument
2017
- Ruby 2.5 requires pp by default
- Array#prepend and Array#append in Ruby 2.5
- Ruby 2.5 added yield_self
- Ruby 2.5 added delete_prefix and delete_suffix methods
- Ruby 2.5 introduces Dir.children and Dir.each_child
- Ruby 2.5 allows rescue/else/ensure inside do/end blocks
- Ruby 2.5 has removed top level constant lookup