Exception: Tomo::Configuration::UnknownEnvironmentError
- Defined in:
- lib/tomo/configuration/unknown_environment_error.rb
Instance Attribute Summary collapse
-
#known_environments ⇒ Object
Returns the value of attribute known_environments.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Methods inherited from Error
Methods included from Tomo::Colors
Instance Attribute Details
#known_environments ⇒ Object
Returns the value of attribute known_environments.
6 7 8 |
# File 'lib/tomo/configuration/unknown_environment_error.rb', line 6 def known_environments @known_environments end |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/tomo/configuration/unknown_environment_error.rb', line 6 def name @name end |
Instance Method Details
#to_console ⇒ Object
8 9 10 |
# File 'lib/tomo/configuration/unknown_environment_error.rb', line 8 def to_console known_environments.empty? ? no_envs : wrong_envs end |