Sha256: 8b5f97fe0bc9a34db42921379859cc81a417740523bad394f9a1407c28a6c6e5

Contents?: true

Size: 346 Bytes

Versions: 3

Compression:

Stored size: 346 Bytes

Contents

module Zenlish
  module Lex
    # TODO: document
    class Lexeme
      attr_reader :wclass
      attr_reader :entry

      def initialize(aWordClass, anEntry)
        @wclass = aWordClass
        @entry = anEntry
        @entry.add_lexeme(self)
      end

      def lemma
        entry.lemma
      end
    end # class
  end # module
end # module

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
zenlish-0.1.02 lib/zenlish/lex/lexeme.rb
zenlish-0.1.01 lib/zenlish/lex/lexeme.rb
zenlish-0.1.0 lib/zenlish/lex/lexeme.rb