Class: Chef::ResourceCollection
- Inherits:
-
Object
- Object
- Chef::ResourceCollection
- Defined in:
- lib/chef/provisioning/recipe_dsl.rb
Instance Method Summary collapse
Instance Method Details
#previous_index ⇒ Object
95 96 97 |
# File 'lib/chef/provisioning/recipe_dsl.rb', line 95 def previous_index @insert_after_idx ? @insert_after_idx : @resources.length - 1 end |