Exception: Errors::MissingEnvironmentVariable
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Errors::MissingEnvironmentVariable
- Defined in:
- lib/advanced_ruby_command_handler/errors.rb
Instance Attribute Summary collapse
-
#environment_variable ⇒ Object
readonly
Returns the value of attribute environment_variable.
Instance Method Summary collapse
-
#initialize(environment_variable, message = nil) ⇒ MissingEnvironmentVariable
constructor
A new instance of MissingEnvironmentVariable.
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, = nil) super() @environment_variable = environment_variable end |
Instance Attribute Details
#environment_variable ⇒ Object (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 |