method

method_missing

rails latest stable - Class: OrderedOptions

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.1.0) is shown here.

method_missing(name, *args)
public

No documentation available.

# File activesupport/lib/active_support/ordered_options.rb, line 10
  def method_missing(name, *args)
    if name.to_s =~ /(.*)=$/
      self[$1.to_sym] = args.first
    else
      self[name]
    end
  end