lib/zenlish/wclasses/word_class.rb in zenlish-0.2.05 vs lib/zenlish/wclasses/word_class.rb in zenlish-0.2.06
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
require 'rley'
require_relative '../feature/feature_struct_def_bearer'
module Zenlish
module WClasses
@@ -27,21 +29,21 @@
# Indicates whether all words from the word class have a single (uninflected)
# form.
# @return [FalseClass, TrueClass] true iff the words in the class are invariable.
def invariable?
- return true
+ true
end
-
+
# @return [Module, NilClass]
def extension
nil
end
-
+
protected
def add_paradigm(anInflectionTable)
@paradigms[anInflectionTable.name] = anInflectionTable
- end
+ end
end # class
end # module
-end # module
\ No newline at end of file
+end # module