method

coffee_gemfile_entry

coffee_gemfile_entry()
protected

No documentation available.

# File railties/lib/rails/generators/app_base.rb, line 273
      def coffee_gemfile_entry
        comment = 'Use CoffeeScript for .js.coffee assets and views'
        if options.dev? || options.edge?
          GemfileEntry.github 'coffee-rails', 'rails/coffee-rails', nil, comment
        else
          GemfileEntry.version 'coffee-rails', '~> 4.0.0', comment
        end
      end