Sha256: c9975592e04b288421e60700b3eb1ad36d9a2ea803585d7220a572f27755f1ed

Contents?: true

Size: 531 Bytes

Versions: 6

Compression:

Stored size: 531 Bytes

Contents

require_relative 'noun'

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
zenlish-0.2.05 lib/zenlish/wclasses/proper_noun.rb
zenlish-0.2.04 lib/zenlish/wclasses/proper_noun.rb
zenlish-0.2.03 lib/zenlish/wclasses/proper_noun.rb
zenlish-0.2.02 lib/zenlish/wclasses/proper_noun.rb
zenlish-0.2.01 lib/zenlish/wclasses/proper_noun.rb
zenlish-0.2.00 lib/zenlish/wclasses/proper_noun.rb