class TableStructure::Writer::Output
Public Class Methods
new(output, method: :<<)
click to toggle source
# File lib/table_structure/writer.rb, line 40 def initialize(output, method: :<<) @output = output @method = method end
Public Instance Methods
write(values)
click to toggle source
# File lib/table_structure/writer.rb, line 45 def write(values) @output.send(@method, values) end