Method: FatTable::Table#each
- Defined in:
- lib/fat_table/table.rb
#each(&block) ⇒ Object
Yield each row of the table as a Hash with the column symbols as keys.
616 617 618 619 620 621 622 |
# File 'lib/fat_table/table.rb', line 616 def each(&block) if block rows.each(&block) else to_enum(:each) end end |