1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove dummy Object#try before aliasing it

This commit is contained in:
Jeremy Kemper 2009-02-06 11:49:34 -08:00
parent 468231ee50
commit 95dfcc4f3c

View file

@ -25,6 +25,7 @@ class Object
def try(method, *args, &block) def try(method, *args, &block)
send(method, *args, &block) send(method, *args, &block)
end end
remove_method :try
alias_method :try, :__send__ alias_method :try, :__send__
end end