Class: Chef::ResourceCollection
- Inherits:
-
Object
- Object
- Chef::ResourceCollection
- Defined in:
- lib/chef_metal/recipe_dsl.rb
Instance Method Summary collapse
Instance Method Details
#previous_index ⇒ Object
90 91 92 |
# File 'lib/chef_metal/recipe_dsl.rb', line 90 def previous_index @insert_after_idx ? @insert_after_idx : @resources.length - 1 end |