class Xapian::Xapian::Xapian::Term - RDoc Documentation

# class Xapian::Xapian::Xapian::Term

### Attributes

term[RW]
termfreq[RW]
wdf[RW]

### Public Class Methods

new(term, wdf=nil, termfreq=nil) click to toggle source

    # File xapian.rb, line 74
    def initialize(term, wdf=nil, termfreq=nil)
      @term = term
      @wdf = wdf
      @termfreq = termfreq
    end

### Public Instance Methods

==(other) click to toggle source

    # File xapian.rb, line 80
    def ==(other)
      return other.is_a?(Xapian::Term) && other.term == @term && other.wdf == @wdf && other.termfreq == @termfreq
    end