method

write_inheritable_attribute

rails latest stable - Class: Class

Method deprecated or moved

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

write_inheritable_attribute(key, value)
public

No documentation available.

# File activesupport/lib/active_support/core_ext/class/inheritable_attributes.rb, line 132
  def write_inheritable_attribute(key, value)
    if inheritable_attributes.equal?(EMPTY_INHERITABLE_ATTRIBUTES)
      @inheritable_attributes = {}
    end
    inheritable_attributes[key] = value
  end

1Note

Replaced by

vanuan ยท Mar 27, 20122 thanks