method

write_inheritable_attribute

Importance_0
Ruby on Rails latest stable (v2.3.4) - 0 notes - Class: Class
write_inheritable_attribute(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 activesupport/lib/active_support/core_ext/class/inheritable_attributes.rb, line 99
  def write_inheritable_attribute(key, value)
    if inheritable_attributes.equal?(EMPTY_INHERITABLE_ATTRIBUTES)
      @inheritable_attributes = {}
    end
    inheritable_attributes[key] = value
  end
Register or log in to add new notes.