From: Brian Candler Date: 2009-01-19T18:21:53+09:00 Subject: Re: Higher order ruby Gregory Brown wrote: > But also not the same thing on Ruby 1.9, so it's important to be > careful about this generally, even if it works fine with either in the > above example. Yep, it's best to avoid proc{} entirely, since in ruby 1.8 it's an alias for lambda{}, but in ruby 1.9 it has changed to be an alias for Proc.new{}. For the full gory details see http://innig.net/software/ruby/closures-in-ruby.rb -- Posted via http://www.ruby-forum.com/.