Class: Pcli::CommandOutput
- Inherits:
-
Object
- Object
- Pcli::CommandOutput
- Defined in:
- lib/pcli/command_output.rb
Class Method Summary collapse
Instance Method Summary collapse
- #halt? ⇒ Boolean
-
#initialize(halt) ⇒ CommandOutput
constructor
A new instance of CommandOutput.
Constructor Details
#initialize(halt) ⇒ CommandOutput
15 16 17 |
# File 'lib/pcli/command_output.rb', line 15 def initialize(halt) @halt = halt end |
Class Method Details
.continue ⇒ Object
10 11 12 |
# File 'lib/pcli/command_output.rb', line 10 def continue new(false) end |
.halt ⇒ Object
6 7 8 |
# File 'lib/pcli/command_output.rb', line 6 def halt new(true) end |
Instance Method Details
#halt? ⇒ Boolean
19 20 21 |
# File 'lib/pcli/command_output.rb', line 19 def halt? @halt end |