Class: Zenlish::WClasses::Verb
- Defined in:
- lib/zenlish/wclasses/verb.rb
Overview
Abstract class. In traditional grammar, the verb is often defined notionally as a 'doing' word (i.e. a word that describes the action in a clause).
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from WordClass
Instance Method Summary collapse
-
#initialize ⇒ Verb
constructor
A new instance of Verb.
-
#invariable? ⇒ Boolean
As all verbs inflect, or change form, to reflect changes in tense, person, number, and voice, they are, by definition, variable.
Methods inherited from WordClass
Methods included from Feature::FeatureStructDefBearer
#[], #boolean, #enumeration, #feature_def, #feature_def_dsl, #identifier, #init_struct_def, #struct
Constructor Details
#initialize ⇒ Verb
Returns a new instance of Verb.
12 13 14 15 16 17 |
# File 'lib/zenlish/wclasses/verb.rb', line 12 def initialize super() @paradigms = {} init_feature_defs init_paradigms end |
Instance Method Details
#invariable? ⇒ Boolean
As all verbs inflect, or change form, to reflect changes in tense, person, number, and voice, they are, by definition, variable.
21 22 23 |
# File 'lib/zenlish/wclasses/verb.rb', line 21 def invariable? false end |