Class: Zenlish::WClasses::IrregularVerb
- Inherits:
-
LexicalVerb
- Object
- Rley::Syntax::Terminal
- WordClass
- Verb
- LexicalVerb
- Zenlish::WClasses::IrregularVerb
- Defined in:
- lib/zenlish/wclasses/irregular_verb.rb
Direct Known Subclasses
IrregularLinkingVerb, IrregularVerbBe, IrregularVerbCan, IrregularVerbDo, IrregularVerbHave, IrregularVerbKnow, IrregularVerbSay, IrregularVerbThink
Instance Attribute Summary collapse
-
#forms ⇒ Array<String>
writeonly
[the past simple form, past participle form].
Attributes inherited from WordClass
Instance Method Summary collapse
-
#extension ⇒ Module, NilClass
The mix-in module used to extend the lexeme.
Methods inherited from Verb
Methods inherited from WordClass
Methods included from Feature::FeatureStructDefBearer
#[], #boolean, #enumeration, #feature_def, #feature_def_dsl, #identifier, #init_struct_def, #struct
Constructor Details
This class inherits a constructor from Zenlish::WClasses::Verb
Instance Attribute Details
#forms=(value) ⇒ Array<String> (writeonly)
Returns [the past simple form, past participle form].
10 11 12 |
# File 'lib/zenlish/wclasses/irregular_verb.rb', line 10 def forms=(value) @forms = value end |
Instance Method Details
#extension ⇒ Module, NilClass
The mix-in module used to extend the lexeme
14 15 16 |
# File 'lib/zenlish/wclasses/irregular_verb.rb', line 14 def extension IrregularVerbExtension end |