Class: JoinModelGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- JoinModelGenerator
- Includes:
- SuperScaffoldBase
- Defined in:
- lib/generators/super_scaffold/join_model/join_model_generator.rb
Instance Method Summary collapse
Instance Method Details
#generate ⇒ Object
22 23 24 25 26 27 |
# File 'lib/generators/super_scaffold/join_model/join_model_generator.rb', line 22 def generate # We add the name of the specific super_scaffolding command that we want to # invoke to the beginning of the argument string. ARGV.unshift "join-model" BulletTrain::SuperScaffolding::Runner.new.run end |