Class: Zenlish::WClasses::Noun
- Defined in:
- lib/zenlish/wclasses/noun.rb
Overview
A noun denotes classes and categories of things in the unverse of discourse. Nouns denote people, animals, inanimate things, places, events, qualities and states.
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from WordClass
Instance Method Summary collapse
-
#initialize ⇒ Noun
constructor
A new instance of Noun.
-
#invariable? ⇒ Boolean
Nouns inflect according to number, possessive.
Methods inherited from WordClass
Methods included from Feature::FeatureStructDefBearer
#[], #boolean, #enumeration, #feature_def, #feature_def_dsl, #identifier, #init_struct_def, #struct
Constructor Details
#initialize ⇒ Noun
Returns a new instance of Noun.
11 12 13 14 |
# File 'lib/zenlish/wclasses/noun.rb', line 11 def initialize super() init_feature_defs end |
Instance Method Details
#invariable? ⇒ Boolean
Nouns inflect according to number, possessive. Therefore they are variable.
18 19 20 |
# File 'lib/zenlish/wclasses/noun.rb', line 18 def invariable? false end |