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

Remove redundant to_sym call.

[#6483 state:committed]

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
This commit is contained in:
Ben Orenstein 2011-02-28 10:52:09 -05:00 committed by Santiago Pastorino
parent a8dae084c9
commit 726599df98

View file

@ -31,7 +31,7 @@ module ActiveSupport #:nodoc:
def method_missing(name, *args)
if name.to_s =~ /(.*)=$/
self[$1.to_sym] = args.first
self[$1] = args.first
else
self[name]
end