module CryptoMarket

Looked how the owner instantiated a single Object on Github github.com/tj/terminal-table/blob/master/lib/terminal-table/table_helper.rb

Constants

VERSION

Public Instance Methods

terminal_table(headings = [], *rows, &block) click to toggle source
# File lib/crypto_market.rb, line 15
def terminal_table(headings = [], *rows, &block)
  Terminal::Table.new :headings => headings.to_a, :rows => rows, &block
end