Exception: Holotype::Attribute::Definition::NoValueClassError
- Inherits:
-
StandardError
- Object
- StandardError
- Holotype::Attribute::Definition::NoValueClassError
- Defined in:
- lib/holotype/attribute/definition/no_value_class_error.rb
Instance Attribute Summary collapse
-
#definition ⇒ Object
readonly
Returns the value of attribute definition.
Instance Method Summary collapse
-
#initialize(definition) ⇒ NoValueClassError
constructor
A new instance of NoValueClassError.
- #message ⇒ Object
Constructor Details
#initialize(definition) ⇒ NoValueClassError
Returns a new instance of NoValueClassError.
7 8 9 |
# File 'lib/holotype/attribute/definition/no_value_class_error.rb', line 7 def initialize definition @definition = definition end |
Instance Attribute Details
#definition ⇒ Object (readonly)
Returns the value of attribute definition.
5 6 7 |
# File 'lib/holotype/attribute/definition/no_value_class_error.rb', line 5 def definition @definition end |
Instance Method Details
#message ⇒ Object
11 12 13 |
# File 'lib/holotype/attribute/definition/no_value_class_error.rb', line 11 def "No value class for attribute definition: #{definition.name}".freeze end |