lib/io_streams/tabular.rb in iostreams-1.4.0 vs lib/io_streams/tabular.rb in iostreams-1.5.0
- old
+ new
@@ -182,11 +182,9 @@
# Returns [Array<Symbol>] the list of registered formats
def self.registered_formats
@formats.keys
end
- private
-
# A registry to hold formats for processing files during upload or download
@formats = {}
def self.parser_class(format)
@formats[format.nil? ? nil : format.to_sym] || raise(ArgumentError, "Unknown Tabular Format: #{format.inspect}")