lib/zenlish/wclasses/noun.rb in zenlish-0.2.05 vs lib/zenlish/wclasses/noun.rb in zenlish-0.2.06

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + require_relative 'word_class' module Zenlish module WClasses # A noun denotes classes and categories of things in the unverse of discourse. @@ -19,14 +21,14 @@ private def init_feature_defs # Create standard feature definitions for nouns. - feature_def_dsl { + feature_def_dsl do feature_def 'NUMBER' => enumeration(:singular, :plural) feature_def 'COUNTABILITY' => enumeration(:count, :non_count) feature_def 'PARADIGM' => [identifier, 'Common_form'] # 2nd item is default value - } + end end end # class end # module end # module