hey folks I've often wondered if i can use Symbol#to_proc with arguments - reading Dave Thomas's explanation on this page http://pragdave.pragprog.com/pragdave/2005/11/symbolto_proc.html it looks like i would be able to do this: >> array = %w(apple banana peach plum pear) => ["apple", "banana", "peach", "plum", "pear"] >> array.collect(&:split, 'l') SyntaxError: compile error (irb):12: syntax error, unexpected ',', expecting ')' array.collect(&:split, 'l') ^ (irb):12: syntax error, unexpected ')', expecting $end from (irb):12 But it fails as you can see. Trying to fully grasp what's going on with Symbol#to_proc makes my head hurt a little bit (it is only 9.16am here) and i'm clearly not getting it. Can anyone explain? -- Posted via http://www.ruby-forum.com/.