Method: MGit::Output::TableOutputter#initialize

Defined in:
lib/mgit/output.rb

#initialize(table, options) ⇒ TableOutputter

Returns a new instance of TableOutputter.



36
37
38
39
40
41
# File 'lib/mgit/output.rb', line 36

def initialize(table, options)
  @table = table
  @options = options
  @options[:columns] = []
  fail ImplementationError, 'ptable called with invalid table' unless valid_table?
end