Sha256: 07f7da42f0bb8d13a956ba05495eb2780e90ed6b69303fe4f4dbdd6cfb8d1818

Contents?: true

Size: 403 Bytes

Versions: 4

Compression:

Stored size: 403 Bytes

Contents

module BowerRails
  module Generators
    class InitializeGenerator < Rails::Generators::Base
      desc "Adds a boilerplate component.json file to root of rails project"
      
      def self.source_root
        @_bower_rails_source_root ||= File.expand_path("../templates", __FILE__)
      end

      def create_initializer_file
        template "bower.json", 'bower.json'
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bower-rails-0.3.3 lib/generators/bower_rails/initialize/initialize_generator.rb
bower-rails-0.3.2 lib/generators/bower_rails/initialize/initialize_generator.rb
bower-rails-0.3.1 lib/generators/bower_rails/initialize/initialize_generator.rb
bower-rails-0.2.1 lib/generators/bower_rails/initialize/initialize_generator.rb