Exception: SSHake::Mock::UnsupportedCommandError
- Defined in:
- lib/sshake/mock/unsupported_command_error.rb
Instance Method Summary collapse
-
#initialize(command) ⇒ UnsupportedCommandError
constructor
A new instance of UnsupportedCommandError.
- #to_s ⇒ Object
Constructor Details
#initialize(command) ⇒ UnsupportedCommandError
Returns a new instance of UnsupportedCommandError.
9 10 11 |
# File 'lib/sshake/mock/unsupported_command_error.rb', line 9 def initialize(command) @command = command end |
Instance Method Details
#to_s ⇒ Object
13 14 15 |
# File 'lib/sshake/mock/unsupported_command_error.rb', line 13 def to_s "Executed command is not support by the mock session (`#{@command}`)" end |