Class: Terrapin::CommandLine::Output
- Inherits:
-
Object
- Object
- Terrapin::CommandLine::Output
- Defined in:
- lib/terrapin/command_line/output.rb
Instance Attribute Summary collapse
-
#error_output ⇒ Object
readonly
Returns the value of attribute error_output.
-
#output ⇒ Object
readonly
Returns the value of attribute output.
Instance Method Summary collapse
-
#initialize(output = nil, error_output = nil) ⇒ Output
constructor
A new instance of Output.
- #to_s ⇒ Object
Constructor Details
#initialize(output = nil, error_output = nil) ⇒ Output
Returns a new instance of Output.
2 3 4 5 |
# File 'lib/terrapin/command_line/output.rb', line 2 def initialize(output = nil, error_output = nil) @output = output @error_output = error_output end |
Instance Attribute Details
#error_output ⇒ Object (readonly)
Returns the value of attribute error_output.
7 8 9 |
# File 'lib/terrapin/command_line/output.rb', line 7 def error_output @error_output end |
#output ⇒ Object (readonly)
Returns the value of attribute output.
7 8 9 |
# File 'lib/terrapin/command_line/output.rb', line 7 def output @output end |
Instance Method Details
#to_s ⇒ Object
9 10 11 |
# File 'lib/terrapin/command_line/output.rb', line 9 def to_s output.to_s end |