lib/hanami/commands/generate/model.rb
def model_name_not_blank
          if argument_blank?(model_name)
            raise ArgumentError.new('Model name is missing')
          end
        end
# Validates that a model name was provided
#
# @since 0.6.0
# @api private
Validates that a model name was provided
Validates that a model name was provided
def model_name_not_blank
          if argument_blank?(model_name)
            raise ArgumentError.new('Model name is missing')
          end
        end
def model_name_not_blank if argument_blank? ( model_name ) raise ArgumentError . new ( 'Model name is missing' ) end end
Validates that a model name was provided
Validates that a model name was provided
since
None
api
None