Class: ChefCap::Capistrano
- Inherits:
-
Object
- Object
- ChefCap::Capistrano
- Defined in:
- lib/chef_cap.rb
Constant Summary collapse
- RECIPES_PATH =
File.(File.join(File.dirname(__FILE__), "..", "recipes"))
Class Method Summary collapse
Class Method Details
.load_recipes(capistrano) ⇒ Object
8 9 10 |
# File 'lib/chef_cap.rb', line 8 def self.load_recipes(capistrano) Dir[File.join(RECIPES_PATH, "*.rb")].each { |recipe| capistrano.send(:load, recipe) } end |