lib/padrino-gen/generators/model.rb in padrino-gen-0.10.2 vs lib/padrino-gen/generators/model.rb in padrino-gen-0.10.3
- old
+ new
@@ -25,9 +25,12 @@
class_option :skip_migration, :aliases => "-s", :default => false, :type => :boolean
# Show help if no argv given
require_arguments!
+ # Execute the model generation
+ #
+ # @api private
def create_model
self.destination_root = options[:root]
if in_app_root?
app = options[:app]
check_app_existence(app)