Class: PPStats::Processor

Inherits:
Object
  • Object
show all
Defined in:
lib/pp-stats/processor.rb

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Processor

Returns a new instance of Processor.



3
4
5
6
# File 'lib/pp-stats/processor.rb', line 3

def initialize(options)
  @options = options
  @modules = PPStats::Modules.new(@options)
end

Instance Method Details

#resultsObject



12
13
14
# File 'lib/pp-stats/processor.rb', line 12

def results
  @modules.results
end

#runObject



8
9
10
# File 'lib/pp-stats/processor.rb', line 8

def run
  @modules.run
end