lib/bmg/operator/constants.rb in bmg-0.18.2 vs lib/bmg/operator/constants.rb in bmg-0.18.3
- old
+ new
@@ -21,9 +21,10 @@
attr_reader :constants
public
def each
+ return to_enum unless block_given?
@operand.each do |tuple|
yield extend_it(tuple)
end
end