lib/dbf/schema.rb in dbf-4.3.1 vs lib/dbf/schema.rb in dbf-4.3.2

- old
+ new

@@ -35,10 +35,10 @@ # @param format [Symbol] format Valid options are :activerecord and :json # @param table_only [Boolean] # @return [String] def schema(format = :activerecord, table_only: false) schema_method_name = schema_name(format) - send(schema_method_name, table_only:) + send(schema_method_name, table_only: table_only) rescue NameError raise ArgumentError, ":#{format} is not a valid schema. Valid schemas are: #{FORMATS.join(', ')}." end def schema_name(format) # :nodoc: