Method: Hash#to_table

Defined in:
lib/ext/core.rb

#to_tableObject



16
17
18
# File 'lib/ext/core.rb', line 16

def to_table
  Terminal::Table.new( :headings => self.keys, :rows => [self.values] ).to_s
end