Flowdock
method

[]=

Importance_1
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: ActiveSupport::HashWithIndifferentAccess
[]=(key, value) public

Assigns a new value to the hash:

hash = ActiveSupport::HashWithIndifferentAccess.new
hash[:key] = 'value'

This value can be later fetched using either :key or +‘key’+.

Show source
Register or log in to add new notes.