Class: Redata::InitGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Redata::InitGenerator
- Defined in:
- lib/generators/redata/init_generator.rb
Instance Method Summary collapse
Instance Method Details
#init_steps ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/generators/redata/init_generator.rb', line 8 def init_steps copy_file 'source_query_example.red.sql', 'query/sources/sources_query_example.red.sql' copy_file 'adjust_query_example.red.sql', 'query/adjust/adjust_query_example.red.sql' copy_file 'redata.yml', 'config/redata.yml' copy_file 'red_access.yml', 'config/red_access.yml' copy_file 'relations.rb', 'config/relations.rb' end |