# File /data/home/olly/tmp/xapian-svn-snapshot/tags/1.0.7/xapian/xapian-bindings/ruby/docs/../xapian.rb, line 118
    def ==(other)
      return other.is_a?(Xapian::ExpandTerm) && other.name == @name && other.weight == @weight
    end