Pretty sick, RubyConf 2008 shows what to expect of 1.9 (ex-YARV). They speak about ordered hashes, how stupid is that ? Can someone tell me what the fuck is going on with those Ruby guys ? What’s next, unordered Arrays ? What the fuck ! http://rubyconf2008.confreaks.com/ruby-19-what-to-expect.html Try not to barf
Posts Tagged ‘ruby’
Matz, how did you let them do that ?
Posted in Snippet of the Day, tagged ruby on December 1, 2008 | 3 Comments »
Snippet of the Day: 11/17/08
Posted in Snippet of the Day, tagged ruby, ruby on rails, work on November 17, 2008 | 1 Comment »
We came up with a nice issue at work last week, we needed / to be a resource. Unfortunately, you can’t really do that easily, and when you use the :as option, well, it doesn’t really work Me and Alexis came up with the “Awesome patch” : # Awesome Patch # This enables the ‘/’ [...]
Snippet of the Day: 11/07/08
Posted in Snippet of the Day, tagged ruby, ruby on rails on November 8, 2008 | Leave a Comment »
Maybe you would like to exit your IRB elegantly once in a while. I’ve got the perfect solution: def elegant_quit eval(['e', 'x', 'i', 't'].join) end In a nice IRB, the result is perfect clabesse@barney:~ clabesse$ irb >> def elegant_quit >> eval(['e', 'x', 'i', 't'].join) >> end => nil >> elegant_quit clabesse@barney:~ clabesse$ Simply Brilliant.
Snippet of the Day: 11/06/08
Posted in Snippet of the Day, tagged ruby, ruby on rails on November 6, 2008 | 1 Comment »
I’ve been dreaming about this topic for ages and never made it. Well here it is, the Snippet of the Day ! Each day (or I hope), I’ll be giving out a bit of code just for fun, or for real interesting work stuff … I’m waiting for your comments Alexis ! We [...]