Class: SuperScaffoldGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- SuperScaffoldGenerator
- Includes:
- SuperScaffoldBase
- Defined in:
- lib/generators/super_scaffold/super_scaffold_generator.rb
Instance Method Summary collapse
Instance Method Details
#generate ⇒ Object
28 29 30 31 32 33 |
# File 'lib/generators/super_scaffold/super_scaffold_generator.rb', line 28 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 "crud" BulletTrain::SuperScaffolding::Runner.new.run end |