Class: Betamax::RecordedMethod

Inherits:
Data
  • Object
show all
Defined in:
lib/betamax/recorded_method.rb

Instance Attribute Summary collapse

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args

Returns:

  • (Object)

    the current value of args



2
3
4
# File 'lib/betamax/recorded_method.rb', line 2

def args
  @args
end

#block_givenObject (readonly)

Returns the value of attribute block_given

Returns:

  • (Object)

    the current value of block_given



2
3
4
# File 'lib/betamax/recorded_method.rb', line 2

def block_given
  @block_given
end

#block_yieldingsObject (readonly)

Returns the value of attribute block_yieldings

Returns:

  • (Object)

    the current value of block_yieldings



2
3
4
# File 'lib/betamax/recorded_method.rb', line 2

def block_yieldings
  @block_yieldings
end

#kwargsObject (readonly)

Returns the value of attribute kwargs

Returns:

  • (Object)

    the current value of kwargs



2
3
4
# File 'lib/betamax/recorded_method.rb', line 2

def kwargs
  @kwargs
end

#method_nameObject (readonly)

Returns the value of attribute method_name

Returns:

  • (Object)

    the current value of method_name



2
3
4
# File 'lib/betamax/recorded_method.rb', line 2

def method_name
  @method_name
end

#resultObject (readonly)

Returns the value of attribute result

Returns:

  • (Object)

    the current value of result



2
3
4
# File 'lib/betamax/recorded_method.rb', line 2

def result
  @result
end