method
coffee_gemfile_entry
v4.1.8 -
Show latest stable
- Class:
Rails::Generators::AppBase
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