Exception: Expect4r::SpawnError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/expect/io.rb

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ SpawnError

Returns a new instance of SpawnError.



73
74
75
# File 'lib/expect/io.rb', line 73

def initialize(*args)
  @cmd = args[0]
end

Instance Method Details

#err_msgObject



76
77
78
# File 'lib/expect/io.rb', line 76

def err_msg
  "Spawn Error: #{@cmd}"
end