Sha256: 1b1ee1d7aa01d1dd925aefbb768bff5b91864c8d3450fa6c71a862f90d1a1096
Contents?: true
Size: 471 Bytes
Versions: 10
Compression:
Stored size: 471 Bytes
Contents
module BerkeleyLibrary module TIND module Export class Row attr_reader :columns attr_reader :row_index def initialize(columns, row_index) @columns = columns @row_index = row_index end def values columns.map { |c| c.value_at(row_index) } end def each_value(&block) columns.map { |c| c.value_at(row_index) }.each(&block) end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems