Category Ruby1.9

An Introduction to Procs, by Peter Cooper

I have just watched the 27-min introduction on Procs by Peter Cooper, which is really a short section of his RubyReloaded course.   Here are my notes: blocs are essentially nameless functions the block_given? method can be used to find out if a block was passed to the current scope blocks are anonymous functions which […]

Ruby 1.9 Walkthrough by Peter Cooper

I have been away from hacking some Ruby for about a year by now, and I wanted to get up to speed with Ruby 1.9.3, so I bought Peter Cooper’s Ruby 1.9 Walkthrough. No doubt: my $24 was excellent value for my money. That’s a 3-hour session where he talks about what’s new in Ruby 1.9.2 […]