Class: Strict::MethodDefinitionError
- Defined in:
- lib/strict/method_definition_error.rb
Instance Attribute Summary collapse
-
#additional_parameters ⇒ Object
readonly
Returns the value of attribute additional_parameters.
-
#missing_parameters ⇒ Object
readonly
Returns the value of attribute missing_parameters.
-
#verifiable_method ⇒ Object
readonly
Returns the value of attribute verifiable_method.
Instance Method Summary collapse
-
#initialize(verifiable_method:, missing_parameters:, additional_parameters:) ⇒ MethodDefinitionError
constructor
A new instance of MethodDefinitionError.
Constructor Details
#initialize(verifiable_method:, missing_parameters:, additional_parameters:) ⇒ MethodDefinitionError
Returns a new instance of MethodDefinitionError.
7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/strict/method_definition_error.rb', line 7 def initialize(verifiable_method:, missing_parameters:, additional_parameters:) super( ( verifiable_method: verifiable_method, missing_parameters: missing_parameters, additional_parameters: additional_parameters ) ) @verifiable_method = verifiable_method @missing_parameters = missing_parameters @additional_parameters = additional_parameters end |
Instance Attribute Details
#additional_parameters ⇒ Object (readonly)
Returns the value of attribute additional_parameters.
5 6 7 |
# File 'lib/strict/method_definition_error.rb', line 5 def additional_parameters @additional_parameters end |
#missing_parameters ⇒ Object (readonly)
Returns the value of attribute missing_parameters.
5 6 7 |
# File 'lib/strict/method_definition_error.rb', line 5 def missing_parameters @missing_parameters end |
#verifiable_method ⇒ Object (readonly)
Returns the value of attribute verifiable_method.
5 6 7 |
# File 'lib/strict/method_definition_error.rb', line 5 def verifiable_method @verifiable_method end |