method

method_missing

rails latest stable - Class: Rails::OrderedOptions

Method deprecated or moved

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

method_missing(name, *args)
public

No documentation available.

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