Might be nice is #alias_method returned the new method name so that one
could do:
private alias_method( :foo, :bar )
b/c
private
alias_method :foo, :bar
doesn’t work.
Right now it appears to return the class/module involved.
Just a thought,
T.
Might be nice is #alias_method returned the new method name so that one
could do:
private alias_method( :foo, :bar )
b/c
private
alias_method :foo, :bar
doesn’t work.
Right now it appears to return the class/module involved.
Just a thought,
T.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs