Class: Farseer::Map
Instance Method Summary collapse
-
#initialize(parser, &map) ⇒ Map
constructor
A new instance of Map.
- #parse(input) ⇒ Object
Methods included from MapFactory
Constructor Details
#initialize(parser, &map) ⇒ Map
Returns a new instance of Map.
7 8 9 10 11 |
# File 'lib/farseer/map.rb', line 7 def initialize(parser, &map) @parser = parser @map = map freeze end |