Dr Nic's "Future proofing your Ruby code"
Installed Ruby 1.9 over the weekend to play with some things. In particular, I wanted to try simulating Smalltalk’s keyword messages using 1.9’s new Hash syntax.
Smalltalk:
at:put: (Integer)
at: index put: value
Ruby:
def at(index, put = {})
end
at index, put: value
Well, I installed it from source which meant I came in this morning and work Rails apps are breaking. I basically just removed what I installed from source will follow Dr. Nic’s instructions next time for playing with Ruby 1.9.1 & the patch version of Ruby needed for Maglev.