Sha256: b922b164cc2413a82e2d2160b85638dd70f5ba97d2f33590f018e9039e922833

Contents?: true

Size: 273 Bytes

Versions: 4

Compression:

Stored size: 273 Bytes

Contents

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

      def copy_files
        copy_file "app.js.coffee", "app/assets/javascripts/app.js.coffee"
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
initjs-0.1.3 lib/generators/initjs/initjs_generator.rb
initjs-0.1.2 lib/generators/initjs/initjs_generator.rb
initjs-0.1.1 lib/generators/initjs/initjs_generator.rb
initjs-0.1.0 lib/generators/initjs/initjs_generator.rb