diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-07-26 17:26:36 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-07-26 17:26:36 -0700 |
commit | 5f6daf7b670b571447a5d907219ab7804e3c9007 (patch) | |
tree | ec228a87abab99d4dbc0626192d30b724a08888e /lib/chef/chef_fs/parallelizer/parallel_enumerable.rb | |
parent | ba0c5fcd7a1735b4ae170816dc48b05d791b9733 (diff) | |
download | chef-attrs.tar.gz |
Combine attr_readers onto a single lineattrs
The method takes more than 1 argument
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/chef_fs/parallelizer/parallel_enumerable.rb')
-rw-r--r-- | lib/chef/chef_fs/parallelizer/parallel_enumerable.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/chef/chef_fs/parallelizer/parallel_enumerable.rb b/lib/chef/chef_fs/parallelizer/parallel_enumerable.rb index 5fafc5c88f..dee4fc3053 100644 --- a/lib/chef/chef_fs/parallelizer/parallel_enumerable.rb +++ b/lib/chef/chef_fs/parallelizer/parallel_enumerable.rb @@ -28,10 +28,7 @@ class Chef @unconsumed_output = Queue.new end - attr_reader :parent_task_queue - attr_reader :input_enumerable - attr_reader :options - attr_reader :block + attr_reader :parent_task_queue, :input_enumerable, :options, :block def each each_with_input do |output, index, input, type| |