Module: GameOfLife::Inputters
- Defined in:
- lib/game_of_life/inputters/simple_string_inputter.rb
Overview
Inputters can parse various kinds of data into a format that is easily converted to Board‘s Cells. Some forms of possible inputters:
JSONInputter would accept JSON objects (which can be posted by a website for example)
SimpleStringInputter can be used by tests to verify results
FileInputter can read files in a given format
Defined Under Namespace
Classes: SimpleStringInputter