Closed egwspiti closed 10 years ago
After examining it a little bit more, it seems that it's the following "pattern" that causes the problem:
class X < Module ; end
class Y
include X.new
end
Using looksee on an instance of Y:
2.1.1 :001 > require 'looksee'
=> true
2.1.1 :002 > y = Y.new
=> #<Y:0x00000002a68bf8>
2.1.1 :003 > y.ls
(Object doesn't support #inspect)
=>
Just pushed 2.1.1 which should fix this. Thanks for the report!
Let's say we have the following class that uses the equalizer gem:
Looksee fails with objects of this class like this: