summaryrefslogtreecommitdiff
path: root/lib/chef/formatters/indentable_output_stream.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/formatters/indentable_output_stream.rb')
-rw-r--r--lib/chef/formatters/indentable_output_stream.rb9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/chef/formatters/indentable_output_stream.rb b/lib/chef/formatters/indentable_output_stream.rb
index d508a32eb0..73fc7ecf9a 100644
--- a/lib/chef/formatters/indentable_output_stream.rb
+++ b/lib/chef/formatters/indentable_output_stream.rb
@@ -3,12 +3,9 @@ class Chef
# Handles basic indentation and colorization tasks
class IndentableOutputStream
- attr_reader :out
- attr_reader :err
- attr_accessor :indent
- attr_reader :line_started
- attr_accessor :current_stream
- attr_reader :semaphore
+ attr_reader :out, :err, :line_started, :semaphore
+
+ attr_accessor :indent, :current_stream
def initialize(out, err)
@out, @err = out, err