Flowdock
method

[]=

Importance_0
v2.2.1 - Show latest stable - 0 notes - Class: Rails::OrderedOptions
[]=(key, value) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/initializer.rb, line 979
  def []=(key, value)
    key = key.to_sym

    if pair = find_pair(key)
      pair.pop
      pair << value
    else
      self << [key, value]
    end
  end
Register or log in to add new notes.