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
# File lib/bogo/ui/table.rb, line 144 def print(string) buffer.print(string) end
puts(string)
click to toggle source
buffered puts
# File lib/bogo/ui/table.rb, line 139 def puts(string) buffer.puts(string) end