Exception: ENVied::Configurable::VariableError
- Inherits:
-
StandardError
- Object
- StandardError
- ENVied::Configurable::VariableError
- Defined in:
- lib/envied.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#variable ⇒ Object
readonly
Returns the value of attribute variable.
Instance Method Summary collapse
-
#initialize(variable) ⇒ VariableError
constructor
A new instance of VariableError.
- #variable_type ⇒ Object
Constructor Details
#initialize(variable) ⇒ VariableError
Returns a new instance of VariableError.
8 9 10 |
# File 'lib/envied.rb', line 8 def initialize(variable) @variable = variable end |
Instance Attribute Details
#variable ⇒ Object (readonly)
Returns the value of attribute variable.
7 8 9 |
# File 'lib/envied.rb', line 7 def variable @variable end |
Instance Method Details
#variable_type ⇒ Object
12 13 14 |
# File 'lib/envied.rb', line 12 def variable_type variable.type.to_s.split("::").last end |