Class: Operations::Generators::SchemaGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- Operations::Generators::SchemaGenerator
- Includes:
- Base::Generators::BaseGenerator
- Defined in:
- lib/operations/generators/schema_generator.rb
Instance Method Summary collapse
Instance Method Details
#generate_files ⇒ Object
14 15 16 17 18 19 |
# File 'lib/operations/generators/schema_generator.rb', line 14 def generate_files super template "base/schema.rb.erb", "#{root_file_path}/operations/#{plural_name}/base/schema.rb" template "schema.rb.erb", "#{root_file_path}/operations/#{plural_name}/#{verb}/schema.rb" end |