class DataPitcher::Result
Attributes
header[R]
rows[R]
Public Class Methods
new(header, rows = [])
click to toggle source
# File lib/data_pitcher/result.rb, line 5 def initialize(header, rows = []) @header = header @rows = rows end
Public Instance Methods
<<(row)
click to toggle source
# File lib/data_pitcher/result.rb, line 10 def <<(row) rows << row end
==(obj)
click to toggle source
# File lib/data_pitcher/result.rb, line 14 def ==(obj) header == obj.header && rows == obj.rows end