lib/rdf/isomorphic.rb in rdf-isomorphic-3.2.0 vs lib/rdf/isomorphic.rb in rdf-isomorphic-3.2.1
- old
+ new
@@ -7,11 +7,11 @@
##
# Isomorphism for rdf.rb Enumerables
#
# RDF::Isomorphic provides the functions isomorphic_with and bijection_to for RDF::Enumerable.
#
- # @see https://www.rubydoc.info/github/ruby-rdf/rdf/
+ # @see https://ruby-rdf.github.io/rdf/
# @see https://www.hpl.hp.com/techreports/2001/HPL-2001-293.pdf
module Isomorphic
autoload :VERSION, 'rdf/isomorphic/version'
# Returns `true` if this RDF::Enumerable is isomorphic with another.
@@ -299,10 +299,13 @@
end
end
# Extend RDF::Enumerables with these functions.
- module Enumerable
+ module Enumerable
+ include RDF::Isomorphic
+ end
+ class Enumerable::Enumerator
include RDF::Isomorphic
end
end