Class: InfoldGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/generators/infold_generator.rb

Instance Method Summary collapse

Instance Method Details

#performObject



6
7
8
9
10
# File 'lib/generators/infold_generator.rb', line 6

def perform
  resource_name = name.camelize.singularize
  invoke 'infold:resource',    [ resource_name ]
  invoke 'infold:scaffold',    [ resource_name ]
end