class Xapian::Posting - RDoc Documentation
Description: Documentation for the Xapian::Posting class
Keywords: ruby,class,Xapian::Posting

# class Xapian::Posting

### Attributes

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

### Public Class Methods

new (docid, doclength, wdf)
Source

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

### Public Instance Methods

== (other)
Source

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