Sha256: c0f8b314f0e33a2edc2eb2cb1c8b035f380bfc95df09cc9f9a3a562706d8c4bf

Contents?: true

Size: 396 Bytes

Versions: 5

Compression:

Stored size: 396 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

5 entries across 5 versions & 2 rubygems

Version Path
bower-rails-0.7.0 lib/generators/bower_rails/initialize/initialize_generator.rb
bower-rails-0.6.1 lib/generators/bower_rails/initialize/initialize_generator.rb
bower-rails-0.6.0 lib/generators/bower_rails/initialize/initialize_generator.rb
bower-rails-pt-0.5.0 lib/generators/bower_rails/initialize/initialize_generator.rb
bower-rails-0.5.0 lib/generators/bower_rails/initialize/initialize_generator.rb