summaryrefslogtreecommitdiff
path: root/lib/chef/resource_collection/stepable_iterator.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource_collection/stepable_iterator.rb')
-rw-r--r--lib/chef/resource_collection/stepable_iterator.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/resource_collection/stepable_iterator.rb b/lib/chef/resource_collection/stepable_iterator.rb
index c744ce7943..d1165764ca 100644
--- a/lib/chef/resource_collection/stepable_iterator.rb
+++ b/lib/chef/resource_collection/stepable_iterator.rb
@@ -27,7 +27,7 @@ class Chef
attr_accessor :collection
attr_reader :position
- def initialize(collection=[])
+ def initialize(collection = [])
@position = 0
@paused = false
@collection = collection
@@ -72,11 +72,11 @@ class Chef
@position = 0
end
- def skip_back(skips=1)
+ def skip_back(skips = 1)
@position -= skips
end
- def skip_forward(skips=1)
+ def skip_forward(skips = 1)
@position += skips
end