lib/bmg.rb in bmg-0.19.3 vs lib/bmg.rb in bmg-0.20.0

- old
+ new

@@ -2,9 +2,14 @@ require 'predicate' require 'forwardable' require 'set' module Bmg + def mutable(enumerable, type = Type::ANY) + Relation::InMemory::Mutable.new(type, enumerable).spied(main_spy) + end + module_function :mutable + def in_memory(enumerable, type = Type::ANY) Relation::InMemory.new(type, enumerable).spied(main_spy) end module_function :in_memory