Module: DbAgile::IO::Text

Defined in:
lib/dbagile/io/text.rb

Class Method Summary collapse

Class Method Details

.to_text(data, columns, buffer = "", options = {}) ⇒ ...

Outputs some data as a plain text string

Returns:

  • (...)

    the buffer itself



10
11
12
13
# File 'lib/dbagile/io/text.rb', line 10

def to_text(data, columns, buffer = "", options = {})
  ::DbAgile::IO::PrettyTable::print(data, columns, buffer, options)
  buffer
end