Exception: Definition::Initializer::InvalidArgumentError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Definition::Initializer::InvalidArgumentError
- Defined in:
- lib/definition/initializer.rb
Instance Attribute Summary collapse
-
#conform_result ⇒ Object
Returns the value of attribute conform_result.
Instance Method Summary collapse
-
#initialize(conform_result) ⇒ InvalidArgumentError
constructor
A new instance of InvalidArgumentError.
Constructor Details
#initialize(conform_result) ⇒ InvalidArgumentError
Returns a new instance of InvalidArgumentError.
8 9 10 11 |
# File 'lib/definition/initializer.rb', line 8 def initialize(conform_result) super("Arguments passed into the initializer are invalid: #{conform_result.}") self.conform_result = conform_result end |
Instance Attribute Details
#conform_result ⇒ Object
Returns the value of attribute conform_result.
6 7 8 |
# File 'lib/definition/initializer.rb', line 6 def conform_result @conform_result end |