Class: Operations::Generators::SchemaGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- Operations::Generators::SchemaGenerator
- Includes:
- Base::Generators::BaseGenerator
- Defined in:
- lib/generators/operations/schema/schema_generator.rb
Instance Method Summary collapse
Instance Method Details
#generate_files ⇒ Object
17 18 19 20 21 22 |
# File 'lib/generators/operations/schema/schema_generator.rb', line 17 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 |