class Xapian::Posting - RDoc Documentation

# class Xapian::Posting

### Attributes

docid[RW]
doclength[RW]
wdf[RW]

### Public Class Methods

new(docid, doclength, wdf) click to toggle source

    # File xapian.rb, line 251
    def initialize(docid, doclength, wdf)
      @docid = docid
      @doclength = doclength
      @wdf = wdf
    end

### Public Instance Methods

==(other) click to toggle source

    # File xapian.rb, line 257
    def ==(other)
      return other.is_a?(Xapian::Posting) && other.docid == @docid && other.doclength == @doclength &&
        other.wdf == @wdf
    end