Class: Baf::Env
Instance Method Summary collapse
-
#initialize(input: $stdin, output: $stdout, output_error: $stderr) ⇒ Env
constructor
A new instance of Env.
- #sync_output ⇒ Object
Constructor Details
#initialize(input: $stdin, output: $stdout, output_error: $stderr) ⇒ Env
Returns a new instance of Env.
10 11 12 13 14 |
# File 'lib/baf/env.rb', line 10 def initialize input: $stdin, output: $stdout, output_error: $stderr @input = input @output = output @output_error = output_error end |
Instance Method Details
#sync_output ⇒ Object
16 17 18 |
# File 'lib/baf/env.rb', line 16 def sync_output output.sync = true end |