We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92dfc02 commit a47ef46Copy full SHA for a47ef46
1 file changed
lib/rdf/model/statement.rb
@@ -301,7 +301,7 @@ def node?
301
# @see RDF::Literal#==
302
# @see RDF::Query::Variable#==
303
def eql?(other)
304
- other.is_a?(Statement) && self == other && (self.graph_name || false) == (other.graph_name || false)
+ other.is_a?(Statement) && self.to_a.eql?(other.to_a) && (self.graph_name || false) == (other.graph_name || false)
305
end
306
307
##
0 commit comments