public Method

OrderedHash.[]=(key, value)

There's no documentation for this item.

Source Code

# File active_support/ordered_options.rb, line 8
def []=(key, value)
  if pair = assoc(key)
    pair.pop
    pair << value
  else
    self << [key, value]
  end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.