I have a module called Setup and want to alias a method.
This is how it looks, but how it doesn’t work:
module Setup
def Setup::option_set?(option)
#...
end
alias :option_set? :get_information
end
I guess it has to do with the Setup::-prefix. What to do?
1 Answer