Exception: RubyPitaya::ParameterMissing
- Inherits:
-
IndexError
- Object
- IndexError
- RubyPitaya::ParameterMissing
- Defined in:
- lib/rubypitaya/core/parameters.rb
Defined Under Namespace
Classes: Correction
Instance Attribute Summary collapse
-
#keys ⇒ Object
readonly
Returns the value of attribute keys.
-
#param ⇒ Object
readonly
Returns the value of attribute param.
Instance Method Summary collapse
-
#initialize(param, keys = nil) ⇒ ParameterMissing
constructor
A new instance of ParameterMissing.
Constructor Details
#initialize(param, keys = nil) ⇒ ParameterMissing
Returns a new instance of ParameterMissing.
15 16 17 18 19 |
# File 'lib/rubypitaya/core/parameters.rb', line 15 def initialize(param, keys = nil) @param = param @keys = keys super("param is missing or the value is empty: #{param}") end |
Instance Attribute Details
#keys ⇒ Object (readonly)
Returns the value of attribute keys.
13 14 15 |
# File 'lib/rubypitaya/core/parameters.rb', line 13 def keys @keys end |
#param ⇒ Object (readonly)
Returns the value of attribute param.
13 14 15 |
# File 'lib/rubypitaya/core/parameters.rb', line 13 def param @param end |