We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13164ed commit 01cd7b6Copy full SHA for 01cd7b6
1 file changed
lib/rdf/model/uri.rb
@@ -160,7 +160,7 @@ def self.cache
160
# (see #initialize)
161
# @return [RDF::URI] an immutable, frozen URI object
162
def self.intern(str, *args, **options)
163
- (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
164
end
165
166
##
0 commit comments