lib/bmg/relation/spied.rb in bmg-0.13.0 vs lib/bmg/relation/spied.rb in bmg-0.14.0

- old
+ new

@@ -16,9 +16,14 @@ def type operand.type end + def type=(type) + operand.type = type + end + protected :type= + def each(&bl) spy.call(self) operand.each(&bl) end