Skip to content

Commit

Permalink
When Mutable#load is called with a base_uri option, it takes preceden…
Browse files Browse the repository at this point in the history
…ce over the resource location.
  • Loading branch information
gkellogg committed Sep 11, 2023
1 parent 8a54ef6 commit fba6dbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rdf/mixin/mutable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def immutable?
def load(url, graph_name: nil, **options)
raise TypeError.new("#{self} is immutable") if immutable?

Reader.open(url, **options.merge(base_uri: url)) do |reader|
Reader.open(url, base_uri: url, **options) do |reader|
if graph_name
statements = []
reader.each_statement do |statement|
Expand Down

0 comments on commit fba6dbc

Please sign in to comment.