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
Public Class Methods
Source
# File xapian.rb, line 116 def initialize(name, weight) @name = name @weight = weight end
Public Instance Methods
Source
# File xapian.rb, line 121 def ==(other) return other.is_a?(Xapian::ExpandTerm) && other.name == @name && other.weight == @weight end