Exception: Errors::MissingEnvironmentVariable

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(environment_variable, message = nil) ⇒ MissingEnvironmentVariable

Returns a new instance of MissingEnvironmentVariable.



25
26
27
28
# File 'lib/advanced_ruby_command_handler/errors.rb', line 25

def initialize(environment_variable, message = nil)
  super(message)
  @environment_variable = environment_variable
end

Instance Attribute Details

#environment_variableObject (readonly)

Returns the value of attribute environment_variable.



23
24
25
# File 'lib/advanced_ruby_command_handler/errors.rb', line 23

def environment_variable
  @environment_variable
end