Skip to content
Kward Search API index

Exception: Kward::PersistentShellSession::CommandInterrupted

Inherits:
StandardError
  • Object
show all
Defined in:
lib/kward/shell/persistent_session.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(protocol) ⇒ CommandInterrupted

Returns a new instance of CommandInterrupted.



27
28
29
30
# File 'lib/kward/shell/persistent_session.rb', line 27

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.



25
26
27
# File 'lib/kward/shell/persistent_session.rb', line 25

def protocol
  @protocol
end