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