Sha256: a4afaf6e3fd5583da6d7d622c30401779816071670d709b34834b8693b036c19

Contents?: true

Size: 301 Bytes

Versions: 1

Compression:

Stored size: 301 Bytes

Contents

require "chef_cap/version"

module ChefCap

  class Capistrano
    RECIPES_PATH = File.expand_path(File.join(File.dirname(__FILE__), "..", "recipes"))

    def self.load_recipes(capistrano)
      Dir[File.join(RECIPES_PATH, "*.rb")].each { |recipe| capistrano.send(:load, recipe) }
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chef_cap-0.0.5 lib/chef_cap.rb