Class: Strict::Methods::VerifiableMethod::UnknownParameterError
- Defined in:
- lib/strict/methods/verifiable_method.rb
Instance Attribute Summary collapse
-
#parameter_name ⇒ Object
readonly
Returns the value of attribute parameter_name.
Instance Method Summary collapse
-
#initialize(parameter_name:) ⇒ UnknownParameterError
constructor
A new instance of UnknownParameterError.
Constructor Details
#initialize(parameter_name:) ⇒ UnknownParameterError
Returns a new instance of UnknownParameterError.
13 14 15 16 17 |
# File 'lib/strict/methods/verifiable_method.rb', line 13 def initialize(parameter_name:) super((parameter_name: parameter_name)) @parameter_name = parameter_name end |
Instance Attribute Details
#parameter_name ⇒ Object (readonly)
Returns the value of attribute parameter_name.
11 12 13 |
# File 'lib/strict/methods/verifiable_method.rb', line 11 def parameter_name @parameter_name end |