call()
click to toggle source
def call
unless @val
val = self.block.call
self.execution_count += 1
if finalize?
@val = val
end
end
return val || @val
end
finalize?()
click to toggle source
inspect()
click to toggle source
def inspect
call.inspect
end