Permalink
Browse files

Finish 2.2.12

  • Loading branch information...
2 parents 6a0249a + 0ce1f29 commit 5861fbab39d304913d5d6ae96f23a21536048bcc @gkellogg gkellogg committed Nov 8, 2017
Showing with 9 additions and 15 deletions.
  1. +1 −1 VERSION
  2. +8 −14 lib/rdf/model/dataset.rb
View
@@ -1 +1 @@
-2.2.11
+2.2.12
View
@@ -61,24 +61,18 @@ def durable?
##
# @private
- # @see RDF::Enumerable#each_statement
- def each_statement
- if block_given?
- @statements.each do |st|
- if st.graph_name.equal?(DEFAULT_GRAPH)
- st = st.dup
- st.graph_name = nil
- end
-
- 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
end
- self
+ yield st
end
-
- enum_statement
+ self
end
- alias_method :each, :each_statement
##
# Returns a developer-friendly representation of this object.

0 comments on commit 5861fba

Please sign in to comment.