Class: WahlrechtDe::Runner

Inherits:
Object
  • Object
show all
Defined in:
lib/runner.rb

Instance Method Summary collapse

Constructor Details

#initializeRunner

Returns a new instance of Runner.



6
7
8
# File 'lib/runner.rb', line 6

def initialize
	@line_range = (1..7)
end

Instance Method Details

#runObject



10
11
12
13
14
# File 'lib/runner.rb', line 10

def run
	survey = Survey.new
	@line_range.each do |row| survey.parse row end
	survey.to_s
end