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

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + require_relative 'word_class' require_relative '../inflect/inflection_table_builder' module Zenlish module WClasses @@ -22,19 +24,19 @@ private def init_feature_defs # Create standard feature definitions for lexical verbs. - feature_def_dsl { + feature_def_dsl do feature_def 'NUMBER' => enumeration(:singular, :plural) feature_def 'PERSON' => enumeration(:first, :second, :third) feature_def 'TIME' => enumeration(:present, :progressive, :past_simple, :past_participle) feature_def 'PARADIGM' => [identifier, 'Regular_inflection'] # 2nd item is default value - } + end end def init_paradigms raise NotImplementedError, "Method #{__callee__} must implemented for #{self.class}." end end # class end # module -end # module \ No newline at end of file +end # module