A
Amir Ebrahimifard
Hi
How can I have a method with 3 arguments so that only second argument is
a default
argument for example:
def sum(p,q=2,r)
puts p+q+r
end
(I want to use from this method with only 2 arguments : first argument
and third argument )
How can I have a method with 3 arguments so that only second argument is
a default
argument for example:
def sum(p,q=2,r)
puts p+q+r
end
(I want to use from this method with only 2 arguments : first argument
and third argument )