lib/muack/any_instance_of.rb in muack-0.5.2 vs lib/muack/any_instance_of.rb in muack-0.7.0
- old
+ new
@@ -1,4 +1,8 @@
module Muack
- AnyInstanceOf = Class.new(Struct.new(:singleton_class))
+ class AnyInstanceOf < Struct.new(:singleton_class)
+ def inspect
+ "Muack::API.any_instance_of(#{singleton_class})"
+ end
+ end
end