Module: Gamefic::Grammar::WordAdapter
- Included in:
- Entity, Plot::YouMount::YouGrammarSet
- Defined in:
- lib/gamefic/grammar/word_adapter.rb
Instance Attribute Summary
Attributes included from Plural
Attributes included from Person
Attributes included from Gender
Instance Method Summary collapse
Methods included from Plural
Instance Method Details
#contract(words) ⇒ Object
17 18 19 |
# File 'lib/gamefic/grammar/word_adapter.rb', line 17 def contract words contractions[words] || words end |
#pronoun ⇒ Gamefic::Grammar::Pronouns
10 11 12 |
# File 'lib/gamefic/grammar/word_adapter.rb', line 10 def pronoun @pronoun ||= Gamefic::Grammar::Pronouns.new(self) end |
#verb ⇒ Gamefic::Grammar::Verbs
14 15 16 |
# File 'lib/gamefic/grammar/word_adapter.rb', line 14 def verb @verb ||= Gamefic::Grammar::Verbs.new(self) end |