Sha256: c7e55f1a3f2c1c6f02e1cb92a77818400dad13a5d7484cd67d66e29d2f8b4d72

Contents?: true

Size: 426 Bytes

Versions: 9

Compression:

Stored size: 426 Bytes

Contents

module Gmaps4rails
  module Generators
    class CopyCoffeeGenerator < ::Rails::Generators::Base

      desc "This generator copies coffee files to app/assets/javascripts"
      source_root      File.expand_path('../../../../vendor/assets/javascripts', __FILE__)

      def copy_coffee
        say_status("copying", "coffee files", :green)
        directory 'gmaps', 'app/assets/javascripts/gmaps'
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
gmaps4rails-2.1.2 lib/generators/gmaps4rails/copy_coffee_generator.rb
gmaps4rails-2.1.1 lib/generators/gmaps4rails/copy_coffee_generator.rb
gmaps4rails-2.1.0 lib/generators/gmaps4rails/copy_coffee_generator.rb
gmaps4rails-2.0.5 lib/generators/gmaps4rails/copy_coffee_generator.rb
gmaps4rails-2.0.4 lib/generators/gmaps4rails/copy_coffee_generator.rb
gmaps4rails-2.0.3 lib/generators/gmaps4rails/copy_coffee_generator.rb
gmaps4rails-2.0.2 lib/generators/gmaps4rails/copy_coffee_generator.rb
gmaps4rails-2.0.1 lib/generators/gmaps4rails/copy_coffee_generator.rb
gmaps4rails-2.0.0 lib/generators/gmaps4rails/copy_coffee_generator.rb