class Bogo::Ui::Table::BufferedTable
Wrapper class to get desired buffering
Attributes
buffer[R]
@return [StringIO]
Public Class Methods
new(*args)
click to toggle source
Create new instance and init buffer
@return [self]
Calls superclass method
# File lib/bogo/ui/table.rb, line 107 def initialize(*args) @buffer = StringIO.new super end
Public Instance Methods
print(string)
click to toggle source
buffered print
# File lib/bogo/ui/table.rb, line 118 def print(string) buffer.print(string) end
puts(string)
click to toggle source
buffered puts
# File lib/bogo/ui/table.rb, line 113 def puts(string) buffer.puts(string) end