Skip to content

Instantly share code, notes, and snippets.

@alindeman
Created October 25, 2012 20:07
Show Gist options
  • Save alindeman/3955093 to your computer and use it in GitHub Desktop.
Save alindeman/3955093 to your computer and use it in GitHub Desktop.
1.8.7 :001 > proc { |a| p a }.call(1, 2)
(irb):1: warning: multiple values for a block parameter (2 for 1)
from (irb):1
[1, 2]
1.9.3-p286 :001 > proc { |a| p a }.call(1, 2)
1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment