We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fe31ed commit fc8cf7eCopy full SHA for fc8cf7e
1 file changed
lib/rdf/model/list.rb
@@ -68,8 +68,8 @@ def initialize(subject: nil, graph: nil, values: nil, &block)
68
if first || values.length > 0
69
# Intantiate the list from values, and insert the first value using subject.
70
values.reverse_each {|value| self.unshift(value)}
71
- graph.insert RDF::Statement(subject, RDF.first, first || RDF.nil)
72
- graph.insert RDF::Statement(subject, RDF.rest, @subject)
+ @graph.insert RDF::Statement(subject, RDF.first, first || RDF.nil)
+ @graph.insert RDF::Statement(subject, RDF.rest, @subject)
73
end
74
@subject = subject
75
else
0 commit comments