module MenuHelpers
Public Class Methods
clear()
click to toggle source
# File lib/helpers/menus/menu_helpers.rb, line 12 def self.clear system('clear') end
terminal_table(headings = [], *rows, &block)
click to toggle source
Reference: github.com/scarsam/crypto_market/blob/master/lib/crypto_market.rb
# File lib/helpers/menus/menu_helpers.rb, line 8 def self.terminal_table(headings = [], *rows, &block) Terminal::Table.new :headings => headings.to_a, :rows => rows, &block end