Module: Flynn::Recipes

Defined in:
lib/flynn/recipes.rb,
lib/flynn/recipes/gem.rb,
lib/flynn/recipes/basic.rb,
lib/flynn/recipes/rails2.rb,
lib/flynn/recipes/rails3.rb,
lib/flynn/recipes/sinatra.rb,
lib/flynn/recipes/node_web.rb,
lib/flynn/recipes/rvm_base.rb,
lib/flynn/recipes/rails_edge.rb,
lib/flynn/recipes/refinerycms.rb

Defined Under Namespace

Classes: Basic, Gem, NodeWeb, Rails2, Rails3, RailsEdge, Refinerycms, RvmBase, Sinatra

Class Method Summary collapse

Class Method Details

.available_recipesObject



19
20
21
# File 'lib/flynn/recipes.rb', line 19

def self.available_recipes
  Flynn::Recipes.constants - [:RvmBase]
end

.load_user_recipesObject



13
14
15
16
17
# File 'lib/flynn/recipes.rb', line 13

def self.load_user_recipes
  Flynn.config.recipes_directory.children.each do |child|
    require child.expand_path if child.extname=='.rb'
  end
end