Method: FatTable::Table#column
- Defined in:
- lib/fat_table/table.rb
#column(key) ⇒ FatTable::Column
Return the table's Column with the given +key+ as its header.
442 443 444 |
# File 'lib/fat_table/table.rb', line 442 def column(key) columns.detect { |c| c.header == key.as_sym } end |