Module: CommaPile

Defined in:
lib/comma_pile.rb,
lib/comma_pile/config.rb,
lib/comma_pile/report.rb,
lib/comma_pile/pivot_node.rb,
lib/comma_pile/line_parser.rb

Defined Under Namespace

Classes: Config, LineParser, PivotNode, Report

Class Method Summary collapse

Class Method Details

.new {|config| ... } ⇒ Object

Yields:

  • (config)


7
8
9
10
11
# File 'lib/comma_pile.rb', line 7

def self.new
  config = CommaPile::Config.new
  yield(config)
  CommaPile::Report.new(config)
end