[Source]
# File lib/mocha/names.rb, line 41 41: def initialize(mock) 42: @mock = mock 43: end
# File lib/mocha/names.rb, line 45 45: def mocha_inspect 46: address = @mock.__id__ * 2 47: address += 0x100000000 if address < 0 48: "#<Mock:0x#{'%x' % address}>" 49: end
[Validate]