Exception: Expect4r::SpawnError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Expect4r::SpawnError
- Defined in:
- lib/expect/io.rb
Instance Method Summary collapse
- #err_msg ⇒ Object
-
#initialize(*args) ⇒ SpawnError
constructor
A new instance of SpawnError.
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_msg ⇒ Object
76 77 78 |
# File 'lib/expect/io.rb', line 76 def err_msg "Spawn Error: #{@cmd}" end |