lib/fakes.rb in fakes-0.3.8 vs lib/fakes.rb in fakes-0.4.0
- old
+ new
@@ -16,10 +16,10 @@
class Object
def fake
return Fakes::Fake.new
end
- def matches
+ def arg_match
return Fakes::Matches
end
def fake_class(klass)
item = fake
Fakes::ClassSwaps.instance.add_fake_for(klass,item)