Module: PuzzleReader
- Defined in:
- lib/puzzle_reader.rb
Defined Under Namespace
Classes: DataRow, DataSet
Class Method Summary
collapse
Class Method Details
.read(puzzle_file) ⇒ Object
2
3
4
5
6
|
# File 'lib/puzzle_reader.rb', line 2
def self.read(puzzle_file)
File.open puzzle_file do |f|
@test_cases = DataSet.new(f.lines)
end
end
|