Class: Sqldump::Formatter
- Inherits:
-
Object
- Object
- Sqldump::Formatter
- Defined in:
- lib/sqldump/formatter.rb
Class Method Summary collapse
Class Method Details
.formatter(sth, io, options) ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/sqldump/formatter.rb', line 10 def self.formatter(sth, io, ) case .dump_mode when :csv CsvFormatter.new(sth, io, ) when :insert InsertFormatter.new(sth, io, ) end end |