Class: Strict::Attributes::Configuration::UnknownAttributeError
- Defined in:
- lib/strict/attributes/configuration.rb
Instance Attribute Summary collapse
-
#attribute_name ⇒ Object
readonly
Returns the value of attribute attribute_name.
Instance Method Summary collapse
-
#initialize(attribute_name:) ⇒ UnknownAttributeError
constructor
A new instance of UnknownAttributeError.
Constructor Details
#initialize(attribute_name:) ⇒ UnknownAttributeError
Returns a new instance of UnknownAttributeError.
14 15 16 17 18 |
# File 'lib/strict/attributes/configuration.rb', line 14 def initialize(attribute_name:) super((attribute_name: attribute_name)) @attribute_name = attribute_name end |
Instance Attribute Details
#attribute_name ⇒ Object (readonly)
Returns the value of attribute attribute_name.
12 13 14 |
# File 'lib/strict/attributes/configuration.rb', line 12 def attribute_name @attribute_name end |