The Real Adam Always course correcting

Posted
26 August 2008 @ 4pm

In
Code, Tumblin'

“with” for Ruby

Use with caution:

That said, with is discouraged in JavaScript. If you can, its better to have methods return self so you can chain like so: people.get_dressed.put_on_music.and_party!


No Comments Yet


There are no comments yet. You could be the first!

Leave a Comment

Those were the droids Guns, Germs and Steel

Flickr View All » RubyConf Notes #3RubyConf Notes #2RubyConf Notes #1RubyConf Notes #0Dogs in the morningMy Day, YesterdayGetting aroundMolly loungingasdfjkl;