method
method_missing
v3.1.0 -
Show latest stable
- Class:
ActiveSupport::OrderedOptions
method_missing(name, *args)public
No documentation available.
# File activesupport/lib/active_support/ordered_options.rb, line 32
def method_missing(name, *args)
if name.to_s =~ /(.*)=$/
self[$1] = args.first
else
self[name]
end
end