Skip to content

Commit 7092ae9

Browse files
committed
Make sure call to URI.intern does not have arugment turned into a hash.
1 parent 9e413b2 commit 7092ae9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/json/ld/context.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1286,7 +1286,7 @@ def uri(value)
12861286
value = RDF::URI(value)
12871287
value.validate! if @options[:validate]
12881288
value.canonicalize! if @options[:canonicalize]
1289-
value = RDF::URI.intern(value) if @options[:intern]
1289+
value = RDF::URI.intern(value, {}) if @options[:intern]
12901290
value
12911291
end
12921292
end

0 commit comments

Comments
 (0)