Module: Gamefic::Grammar::Plural
- Included in:
- Describable, WordAdapter, Plot::YouMount::YouGrammarSet
- Defined in:
- lib/gamefic/grammar/plural.rb
Instance Attribute Summary collapse
-
#plural ⇒ Object
writeonly
Sets the attribute plural.
Instance Method Summary collapse
Instance Attribute Details
#plural=(value) ⇒ Object (writeonly)
Sets the attribute plural
5 6 7 |
# File 'lib/gamefic/grammar/plural.rb', line 5 def plural=(value) @plural = value end |
Instance Method Details
#plural? ⇒ Boolean
6 7 8 9 10 11 |
# File 'lib/gamefic/grammar/plural.rb', line 6 def plural? if @plural.nil? @plural = false end @plural end |