Class: EacRailsBase0::AppGenerator::Builder
- Inherits:
-
Rails::AppBuilder
- Object
- Rails::AppBuilder
- EacRailsBase0::AppGenerator::Builder
- Defined in:
- lib/eac_rails_base0/app_generator/builder.rb
Instance Method Summary collapse
- #app ⇒ Object
- #config ⇒ Object
- #database_yml ⇒ Object
- #db ⇒ Object
- #lib ⇒ Object
- #log ⇒ Object
- #readme ⇒ Object
- #test ⇒ Object
- #tmp ⇒ Object
- #vendor ⇒ Object
- #vendor_javascripts ⇒ Object
- #vendor_stylesheets ⇒ Object
Instance Method Details
#app ⇒ Object
10 11 12 |
# File 'lib/eac_rails_base0/app_generator/builder.rb', line 10 def app directory 'app' end |
#config ⇒ Object
14 15 16 17 18 19 20 21 |
# File 'lib/eac_rails_base0/app_generator/builder.rb', line 14 def config inside 'config' do template 'routes.rb' template 'application.rb' template 'environment.rb' template 'secrets.yml' end end |
#database_yml ⇒ Object
23 24 25 |
# File 'lib/eac_rails_base0/app_generator/builder.rb', line 23 def database_yml template 'config/database.yml' end |
#db ⇒ Object
27 28 29 |
# File 'lib/eac_rails_base0/app_generator/builder.rb', line 27 def db directory 'db' end |
#lib ⇒ Object
31 32 33 |
# File 'lib/eac_rails_base0/app_generator/builder.rb', line 31 def lib directory 'lib' end |
#log ⇒ Object
35 36 37 38 |
# File 'lib/eac_rails_base0/app_generator/builder.rb', line 35 def log # Do nothing empty_directory_with_keep_file 'log' end |
#readme ⇒ Object
6 7 8 |
# File 'lib/eac_rails_base0/app_generator/builder.rb', line 6 def readme # Do nothing end |
#test ⇒ Object
40 41 42 |
# File 'lib/eac_rails_base0/app_generator/builder.rb', line 40 def test # Do nothing end |
#tmp ⇒ Object
44 45 46 |
# File 'lib/eac_rails_base0/app_generator/builder.rb', line 44 def tmp # Do nothing end |
#vendor ⇒ Object
48 49 50 |
# File 'lib/eac_rails_base0/app_generator/builder.rb', line 48 def vendor # Do nothing end |
#vendor_javascripts ⇒ Object
52 53 54 |
# File 'lib/eac_rails_base0/app_generator/builder.rb', line 52 def vendor_javascripts # Do nothing end |
#vendor_stylesheets ⇒ Object
56 57 58 |
# File 'lib/eac_rails_base0/app_generator/builder.rb', line 56 def vendor_stylesheets # Do nothing end |