Exception: Kward::PersistentShellSession::CommandInterrupted
- Inherits:
-
StandardError
- Object
- StandardError
- Kward::PersistentShellSession::CommandInterrupted
- Defined in:
- lib/kward/shell/persistent_session.rb
Instance Attribute Summary collapse
-
#protocol ⇒ Object
readonly
Returns the value of attribute protocol.
Instance Method Summary collapse
-
#initialize(protocol) ⇒ CommandInterrupted
constructor
A new instance of CommandInterrupted.
Constructor Details
#initialize(protocol) ⇒ CommandInterrupted
Returns a new instance of CommandInterrupted.
24 25 26 27 |
# File 'lib/kward/shell/persistent_session.rb', line 24 def initialize(protocol) @protocol = protocol super("The embedded shell did not respond to an interrupt.") end |
Instance Attribute Details
#protocol ⇒ Object (readonly)
Returns the value of attribute protocol.
22 23 24 |
# File 'lib/kward/shell/persistent_session.rb', line 22 def protocol @protocol end |