Exception: Errors::MissingParameter

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/advanced_ruby_command_handler/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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, message = nil)
  super(message)
  @parameter = parameter
end

Instance Attribute Details

#parameterObject (readonly)

Returns the value of attribute parameter.



32
33
34
# File 'lib/advanced_ruby_command_handler/errors.rb', line 32

def parameter
  @parameter
end