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.



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

#protocolObject (readonly)

Returns the value of attribute protocol.



22
23
24
# File 'lib/kward/shell/persistent_session.rb', line 22

def protocol
  @protocol
end