class Spy::CallLog
Attributes
args[R]
@!attribute [r] object
@return [Object] object that the method was called from
@!attribute [r] called_from
@return [String] where the method was called from
@!attribute [r] args
@return [Array] arguments were sent to the method
@!attribute [r] block
@return [Proc] the block that was sent to the method
@!attribute [r] result
@return The result of the method of being stubbed, or called through
block[R]
@!attribute [r] object
@return [Object] object that the method was called from
@!attribute [r] called_from
@return [String] where the method was called from
@!attribute [r] args
@return [Array] arguments were sent to the method
@!attribute [r] block
@return [Proc] the block that was sent to the method
@!attribute [r] result
@return The result of the method of being stubbed, or called through
called_from[R]
@!attribute [r] object
@return [Object] object that the method was called from
@!attribute [r] called_from
@return [String] where the method was called from
@!attribute [r] args
@return [Array] arguments were sent to the method
@!attribute [r] block
@return [Proc] the block that was sent to the method
@!attribute [r] result
@return The result of the method of being stubbed, or called through
object[R]
@!attribute [r] object
@return [Object] object that the method was called from
@!attribute [r] called_from
@return [String] where the method was called from
@!attribute [r] args
@return [Array] arguments were sent to the method
@!attribute [r] block
@return [Proc] the block that was sent to the method
@!attribute [r] result
@return The result of the method of being stubbed, or called through
result[R]
@!attribute [r] object
@return [Object] object that the method was called from
@!attribute [r] called_from
@return [String] where the method was called from
@!attribute [r] args
@return [Array] arguments were sent to the method
@!attribute [r] block
@return [Proc] the block that was sent to the method
@!attribute [r] result
@return The result of the method of being stubbed, or called through
Public Class Methods
new(object, called_from, args, block, result)
click to toggle source
# File lib/spy/call_log.rb, line 22 def initialize(object, called_from, args, block, result) @object, @called_from, @args, @block, @result = object, called_from, args, block, result end