Skip to content
Create a gist now

Instantly share code, notes, and snippets.

>> p = { |a, b| a }
=> #<Proc:0x00000001036962f8@(irb):2>
=> 5
>> l = lambda { |a, b| a }
=> #<Proc:0x000000010368e8c8@(irb):4>
ArgumentError: wrong number of arguments (1 for 2)
from (irb):4
from (irb):5:in `call'
from (irb):5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.