lib/bmg/relation/materialized.rb in bmg-0.18.1 vs lib/bmg/relation/materialized.rb in bmg-0.18.2

- old
+ new

@@ -16,9 +16,15 @@ end protected :type= public + def _count + operand._count + end + + public + def each(&bl) @operand = Relation::InMemory.new(operand.type, operand.to_a) unless @operand.is_a?(Relation::InMemory) @operand.each(&bl) end