method
method_missing
v4.0.2 -
Show latest stable
- Class:
ActiveSupport::OrderedOptions
method_missing(name, *args)public
No documentation available.
# File activesupport/lib/active_support/ordered_options.rb, line 29
def method_missing(name, *args)
name_string = name.to_s
if name_string.chomp!('=')
self[name_string] = args.first
else
self[name]
end
end