Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion corelib/proc.rb
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ def lambda?
end

def arity
`#{self}.length - 1`
`#{self}.length`
end

def to_n

0 comments on commit 35c24df

Please sign in to comment.