Class: Hancock::Catalog::Models::AllGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Hancock::Catalog::Models::AllGenerator
- Defined in:
- lib/generators/hancock/catalog/models/all_generator.rb
Instance Method Summary collapse
Instance Method Details
#all ⇒ Object
12 13 14 15 16 17 |
# File 'lib/generators/hancock/catalog/models/all_generator.rb', line 12 def all generate "hancock:catalog:models:item #{camelcased_class_name}" generate "hancock:catalog:models:category #{category_class_name}" generate "hancock:catalog:models:item_image #{image_class_name}" generate "hancock:catalog:models:category_image #{category_image_class_name}" end |