method

write_inheritable_attribute

v3.0.0 - Show latest stable - Class: Class
write_inheritable_attribute(key, value)
public

No documentation available.

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