Method: InterMine::PathQuery::Query#eql?

Defined in:
lib/intermine/query.rb

#eql?(other) ⇒ Boolean

Return true if the other query has exactly the same configuration, and belongs to the same service.

Returns:



370
371
372
373
374
375
376
# File 'lib/intermine/query.rb', line 370

def eql?(other)
    if other.is_a? Query
        return self.service == other.service && self.to_xml_to_s == other.to_xml.to_s
    else
        return false
    end
end