Class: Noodall::AppBuilder
- Inherits:
-
Rails::AppBuilder
- Object
- Rails::AppBuilder
- Noodall::AppBuilder
- Defined in:
- lib/noodall/generator.rb
Instance Method Summary collapse
Instance Method Details
#config ⇒ Object
26 27 28 29 |
# File 'lib/noodall/generator.rb', line 26 def config super copy_file "config/sitemap.yml" end |
#database_yml ⇒ Object
8 9 10 |
# File 'lib/noodall/generator.rb', line 8 def database_yml template "config/database.yml", "config/database.yml" end |
#javascripts ⇒ Object
12 13 14 |
# File 'lib/noodall/generator.rb', line 12 def javascripts copy_file "public/javascripts/application.js" end |
#lib ⇒ Object
21 22 23 24 |
# File 'lib/noodall/generator.rb', line 21 def lib super copy_file "lib/tasks/populate.rake" end |
#test ⇒ Object
16 17 18 19 |
# File 'lib/noodall/generator.rb', line 16 def test directory 'features' directory 'spec' end |