module FFaker::Image
def check_format!(format)
def check_format!(format) return true if SUPPORTED_FORMATS.include?(format) raise ArgumentError, "Supported formats are #{SUPPORTED_FORMATS.join(', ')}" end
def check_format!(format) return true if SUPPORTED_FORMATS.include?(format) raise ArgumentError, "Supported formats are #{SUPPORTED_FORMATS.join(', ')}" end