diff --git a/lib/rdf/model/uri.rb b/lib/rdf/model/uri.rb index e6deb7aa..deeb4ffc 100644 --- a/lib/rdf/model/uri.rb +++ b/lib/rdf/model/uri.rb @@ -160,7 +160,7 @@ def self.cache # (see #initialize) # @return [RDF::URI] an immutable, frozen URI object def self.intern(str, *args, **options) - (cache[(str = str.to_s).to_sym] ||= self.new(str, *args, **options)).freeze + (cache[(str = str.to_s).to_sym] ||= self.new(str.to_s, *args, **options)).freeze end ##