Exception: Tomo::SSH::Error
- Defined in:
- lib/tomo/ssh/error.rb
Direct Known Subclasses
ConnectionError, ExecutableError, PermissionError, ScriptError, UnknownError, UnsupportedVersionError
Instance Attribute Summary collapse
-
#host ⇒ Object
Returns the value of attribute host.
Instance Method Summary collapse
Methods inherited from Error
Methods included from Colors
Instance Attribute Details
#host ⇒ Object
Returns the value of attribute host.
6 7 8 |
# File 'lib/tomo/ssh/error.rb', line 6 def host @host end |
Instance Method Details
#to_console ⇒ Object
8 9 10 |
# File 'lib/tomo/ssh/error.rb', line 8 def to_console [debug_suggestion, red(.strip)].compact.join("\n\n") end |