Exception: ENVied::Configurable::VariableTypeError

Inherits:
VariableError
  • Object
show all
Defined in:
lib/envied.rb

Instance Attribute Summary

Attributes inherited from VariableError

#variable

Instance Method Summary collapse

Methods inherited from VariableError

#initialize, #variable_type

Constructor Details

This class inherits a constructor from ENVied::Configurable::VariableError

Instance Method Details

#messageObject



24
25
26
# File 'lib/envied.rb', line 24

def message
  "ENV['#{variable.name.to_s.upcase}'] should be of type #{variable_type}"
end