Feeds:
Posts
Comments

Posts Tagged ‘ruby’

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

Read Full Post »

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 ‘/’ [...]

Read Full Post »

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.

Read Full Post »

  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 [...]

Read Full Post »

Follow

Get every new post delivered to your Inbox.