I'm building a HTML extractor on top of nokogiri which applies a collection of CSS search strings and more to build a logical extraction of data and I wanted to use something like this:
[1,2,3].send(:collect,Proc.new{|x| x.to_s + "!"})
This fails. Any ideas how I could work around this? How do you use
Object#send (or similar) with a block?
Xavier
--
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
