Class: Steep::Drivers::StopServer
- Defined in:
- lib/steep/drivers/stop_server.rb
Instance Attribute Summary collapse
-
#stderr ⇒ Object
readonly
Returns the value of attribute stderr.
-
#stdout ⇒ Object
readonly
Returns the value of attribute stdout.
Instance Method Summary collapse
-
#initialize(stdout:, stderr:) ⇒ StopServer
constructor
A new instance of StopServer.
- #run ⇒ Object
Constructor Details
#initialize(stdout:, stderr:) ⇒ StopServer
Returns a new instance of StopServer.
9 10 11 12 |
# File 'lib/steep/drivers/stop_server.rb', line 9 def initialize(stdout:, stderr:) @stdout = stdout @stderr = stderr end |
Instance Attribute Details
#stderr ⇒ Object (readonly)
Returns the value of attribute stderr.
7 8 9 |
# File 'lib/steep/drivers/stop_server.rb', line 7 def stderr @stderr end |
#stdout ⇒ Object (readonly)
Returns the value of attribute stdout.
6 7 8 |
# File 'lib/steep/drivers/stop_server.rb', line 6 def stdout @stdout end |