Sha256: 2d73a7968ed5b73c197faf6febc83aee4576d3c053162de6e9b99b5688eca4b2

Contents?: true

Size: 792 Bytes

Versions: 2

Compression:

Stored size: 792 Bytes

Contents

# encoding: utf-8
require 'rails/all'

# Recipes order:
# rails
# locale
# markup
# assets
# application_controller
# compass
# forms
# javascript_framework
# layout
# devise
# home_controller
# application_helper
# unicorn
# thinking_sphinx
# rspec
# capistrano
# rvm
# setup_database
# gemfile
# git

module Playmo
  extend ActiveSupport::Autoload
  
  class Railtie < Rails::Railtie
    config.app_generators do |g|
      path = File::expand_path('../generators/templates', __FILE__)
      g.templates.unshift path
    end 
  end

  autoload :Version
  autoload :Cli
  autoload :Event
  autoload :Options
  autoload :Cookbook
  autoload :Recipe

  class ::Object
    include Playmo::Recipe
  end

  Dir["#{File.dirname(__FILE__)}/playmo/recipes/*_recipe.rb"].each { |f| require f }
end



Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
playmo-0.1.1 lib/playmo.rb
playmo-0.1.0 lib/playmo.rb