Class: Bently::BackboneRails
- Inherits:
-
RailsRecipe
- Object
- Recipe
- RubyRecipe
- RailsRecipe
- Bently::BackboneRails
- Defined in:
- lib/bently/recipe/backbone-rails.rb
Constant Summary
Constants inherited from RubyRecipe
Instance Method Summary collapse
-
#initialize ⇒ BackboneRails
constructor
A new instance of BackboneRails.
Methods inherited from RailsRecipe
Methods inherited from RubyRecipe
Methods inherited from Recipe
#append, breakdown, category, #code, #create, description, homepage, #insert, #modify, #operate, #operations, #prepend, #remove, #requirement, #run, #say, title, #todo, #usage, version, #warn
Constructor Details
#initialize ⇒ BackboneRails
Returns a new instance of BackboneRails.
6 7 8 9 10 11 12 13 14 |
# File 'lib/bently/recipe/backbone-rails.rb', line 6 def initialize gem 'rails-backbone' bundle generate 'backbone:install' usage 'Generators:' say 'rails g backbone:model', '' say 'rails g backbone:router', '' say 'rails g backbone:scaffold', '' end |