Sha256: 5dd6ef11ad09721f4565d9aa78028971e7505dac73683e723f373952f21ac3bf
Contents?: true
Size: 356 Bytes
Versions: 1
Compression:
Stored size: 356 Bytes
Contents
module Druid module Elements class TableRow < Element def [](idx) element[idx] end # # Returns the number of rows in the table. # def columns element.cells.size end def each for index in 1..self.columns do yield self[index-1] end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
druid-ts-0.0.1 | lib/druid/elements/table_row.rb |