Sha256: 7d016fb16cf77e42fde02ac0f99fae385e46d0341c9051f7921657f981531427

Contents?: true

Size: 365 Bytes

Versions: 36

Compression:

Stored size: 365 Bytes

Contents

module Blogit
  module Generators
    class InstallGenerator < Rails::Generators::Base
      
      source_root File.expand_path('../../templates', __FILE__)

      desc "Creates a Blogit initializer in your application's config/initializers dir"

      def copy_initializer
        template "blogit.rb", "config/initializers/blogit.rb"
      end

    end
  end
end

Version data entries

36 entries across 36 versions & 2 rubygems

Version Path
blogit-1.1.2 lib/generators/blogit/install_generator.rb
blogit-admin-0.0.1 lib/generators/blogit/install_generator.rb
blogit-1.1.1 lib/generators/blogit/install_generator.rb
blogit-1.1.0 lib/generators/blogit/install_generator.rb
blogit-1.0.0 lib/generators/blogit/install_generator.rb
blogit-1.0.0.rc1 lib/generators/blogit/install_generator.rb
blogit-0.8.0 lib/generators/blogit/install_generator.rb
blogit-0.7.0 lib/generators/blogit/install_generator.rb
blogit-0.6.0 lib/generators/blogit/install_generator.rb
blogit-0.5.1 lib/generators/blogit/install_generator.rb
blogit-0.5.0 lib/generators/blogit/install_generator.rb
blogit-0.4.8 lib/generators/blogit/install_generator.rb
blogit-0.4.7 lib/generators/blogit/install_generator.rb
blogit-0.4.6 lib/generators/blogit/install_generator.rb
blogit-0.4.5 lib/generators/blogit/install_generator.rb
blogit-0.4.4 lib/generators/blogit/install_generator.rb
blogit-0.4.3 lib/generators/blogit/install_generator.rb
blogit-0.4.2 lib/generators/blogit/install_generator.rb
blogit-0.4.1 lib/generators/blogit/install_generator.rb
blogit-0.4.0 lib/generators/blogit/install_generator.rb