lib/zenlish/wclasses/proper_noun.rb in zenlish-0.1.25 vs lib/zenlish/wclasses/proper_noun.rb in zenlish-0.2.00

- old
+ new

@@ -3,8 +3,19 @@ module Zenlish module WClasses # Proper nouns refer to persons, places, geographical features, planets, or various # period of time. class ProperNoun < Noun + def initialize + super() + init_feature_defs + end + + def init_feature_defs + # Override standard feature definitions for proper nouns. + feature_def_dsl { + feature_def 'NUMBER' => enumeration(:singular) + } + end end # class end # module end # module \ No newline at end of file