Object
# File lib/mspec/mocks/proxy.rb, line 28 def initialize(val) @value = val @calls = 0 key = [self, :to_int] Mock.objects[key] = self Mock.mocks[key] << self end
# File lib/mspec/mocks/proxy.rb, line 45 def count [:at_least, 1] end
# File lib/mspec/mocks/proxy.rb, line 40 def to_int @calls += 1 @value end
[Validate]
Generated with the Darkfish Rdoc Generator 2.