Exception: Errors::MissingParameter
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Errors::MissingParameter
- Defined in:
- lib/advanced_ruby_command_handler/errors.rb
Instance Attribute Summary collapse
-
#parameter ⇒ Object
readonly
Returns the value of attribute parameter.
Instance Method Summary collapse
-
#initialize(parameter, message = nil) ⇒ MissingParameter
constructor
A new instance of MissingParameter.
Constructor Details
#initialize(parameter, message = nil) ⇒ MissingParameter
Returns a new instance of MissingParameter.
34 35 36 37 |
# File 'lib/advanced_ruby_command_handler/errors.rb', line 34 def initialize(parameter, = nil) super() @parameter = parameter end |
Instance Attribute Details
#parameter ⇒ Object (readonly)
Returns the value of attribute parameter.
32 33 34 |
# File 'lib/advanced_ruby_command_handler/errors.rb', line 32 def parameter @parameter end |