sorcerer icon indicating copy to clipboard operation
sorcerer copied to clipboard

Double check the rules on default arg values

Open jimweirich opened this issue 11 years ago • 0 comments

Do the following method definitions properly source:

def foo(a=nil, b)
end

def bar(a, b=1, c)
end

jimweirich avatar Nov 05 '13 04:11 jimweirich