What am I doing:
class Foo
alias_method :__bar__,:bar
def bar(*arg)
__bar__(*arg)
end
end
Is this the right way to do this?
Or is it better to find out how many required, optional, block arguments the original method has and write exactly the same number of arguments?
source
share