Class: Fabricators::Generators::ModelGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- Fabricators::Generators::ModelGenerator
- Defined in:
- lib/generators/fabricators/model/model_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_fixture_file ⇒ Object
9 10 11 |
# File 'lib/generators/fabricators/model/model_generator.rb', line 9 def create_fixture_file template 'fabricator.rb', Fabricators.path.join("#{table_name}.rb") end |