Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit d2b38fec authored by Ary Borenszweig's avatar Ary Borenszweig
Browse files

Merge pull request #267 from jtomschroeder/alias_method

Swapping parameters of `alias_method` to match Ruby
parents 0940c9f4 a6aef312
No related merge requests found
......@@ -170,7 +170,7 @@ class Object
end
end
macro alias_method(old_method, new_method)
macro alias_method(new_method, old_method)
def {{new_method.id}}(*args)
{{old_method.id}}(*args)
end
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment