Method: TTY::Table::Header#to_ary
- Defined in:
- lib/tty/table/header.rb
#to_ary ⇒ Array
Convert the Header into an Array
128 129 130 |
# File 'lib/tty/table/header.rb', line 128 def to_ary attributes.map { |attr| attr.value if attr } end |