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
123 124 125 |
# File 'lib/chef_metal/recipe_dsl.rb', line 123 def previous_index @insert_after_idx ? @insert_after_idx : @resources.length - 1 end |