What's New in Ruby 2.1 [pdf]
atdot.net
What's New in Ruby 2.1 [pdf]
1–10 of 36 posts
Re: What's New in Ruby 2.1 [pdf]
#2http://ruby-doc.org/stdlib-2.1.0/libdoc/objspace/rdoc/Object...
Re: What's New in Ruby 2.1 [pdf]
#3 private static void def main(args) ...; endRe: What's New in Ruby 2.1 [pdf]
#4Re: What's New in Ruby 2.1 [pdf]
#5I really like the ObjectSpace.trace_object_allocations addition. I had a quick look at the 2.1 docs for ObjectSpace and there seem to be all sorts of interesting methods in there reachable_objects_from(obj) and memsize_of(obj) for example. It looks like understanding memory usage and tracking down memory leaks will get a lot easier with 2.1. http://ruby-doc.org/stdlib-2.1.0/libdoc/objspace/rdoc/Object...
I wrote a little about them here: http://globaldev.co.uk/2013/03/ruby-2-0-0-in-detail/#id6
Re: What's New in Ruby 2.1 [pdf]
#6It's unclear from the intro summary, but I'm assuming from the lack of further explanation that refinements are just GONE, and not just "no longer experimental"?
Re: What's New in Ruby 2.1 [pdf]
#7It's unclear from the intro summary, but I'm assuming from the lack of further explanation that refinements are just GONE, and not just "no longer experimental"?
Nope, by "no longer experimental" they are now officially in the core language. More information here: http://rkh.im/ruby-2.1
Re: What's New in Ruby 2.1 [pdf]
#8Re: What's New in Ruby 2.1 [pdf]
#9Re: What's New in Ruby 2.1 [pdf]
#10I'm looking forward to `def` returning a symbol (page 11). private static void def main(args) ...; end