class Bogo::Ui::Table::BufferedRow

Wrapper class to get desired buffering

Attributes

buffer[R]

@return [StringIO]

Public Class Methods

new(options={}) click to toggle source

Create new instance and init buffer

@return [self]

Calls superclass method
# File lib/bogo/ui/table.rb, line 133
def initialize(options={})
  @buffer = options.delete(:buffer)
  super
end

Public Instance Methods

print(string) click to toggle source

buffered print

puts(string) click to toggle source

buffered puts

# File lib/bogo/ui/table.rb, line 139
def puts(string)
  buffer.puts(string)
end