method

coffee_gemfile_entry

Importance_0
v4.1.8 - Show latest stable - 0 notes - Class: AppBase
coffee_gemfile_entry() protected

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.