class Xapian::ExpandTerm - RDoc Documentation
Description: class Xapian::ExpandTerm: Ruby wrapper for an ExpandTerm, i. ESetIterator in C++ Not dangerous, but inconvenient to use from a Ruby programming idiom, so we wrap it.
Keywords: ruby,class,Xapian::ExpandTerm

# class Xapian::ExpandTerm

Ruby wrapper for an `ExpandTerm`, i.e. a Xapian::ESetIterator in C++ Not dangerous, but inconvenient to use from a Ruby programming idiom, so we wrap it.

### Attributes

name [RW]
weight [RW]

### Public Class Methods

new (name, weight)
Source

    # File xapian.rb, line 115
    def initialize(name, weight)
      @name = name
      @weight = weight
    end

### Public Instance Methods

== (other)
Source

    # File xapian.rb, line 120
    def ==(other)
      return other.is_a?(Xapian::ExpandTerm) && other.name == @name && other.weight == @weight
    end