We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6a0249a + 0ce1f29 commit 5861fbaCopy full SHA for 5861fba
VERSION
@@ -1 +1 @@
1
-2.2.11
+2.2.12
lib/rdf/model/dataset.rb
@@ -61,24 +61,18 @@ def durable?
61
62
##
63
# @private
64
- # @see RDF::Enumerable#each_statement
65
- def each_statement
66
- if block_given?
67
- @statements.each do |st|
68
- if st.graph_name.equal?(DEFAULT_GRAPH)
69
- st = st.dup
70
- st.graph_name = nil
71
- end
72
-
73
- yield st
+ # @see RDF::Enumerable#each
+ def each
+ @statements.each do |st|
+ if st.graph_name.equal?(DEFAULT_GRAPH)
+ st = st.dup
+ st.graph_name = nil
74
end
75
76
- self
+ yield st
77
78
79
- enum_statement
+ self
80
81
- alias_method :each, :each_statement
82
83
84
# Returns a developer-friendly representation of this object.
0 commit comments