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