lib/bmg/operator/autowrap.rb in bmg-0.18.2 vs lib/bmg/operator/autowrap.rb in bmg-0.18.3
- old
+ new
@@ -41,9 +41,10 @@
def same_options?(opts)
normalize_options(opts) == options
end
def each
+ return to_enum unless block_given?
@operand.each do |tuple|
yield autowrap_tuple(tuple)
end
end