Class: Fixturama::Changes::Chain::ReturnAction

Inherits:
Object
  • Object
show all
Defined in:
lib/fixturama/changes/chain/return_action.rb

Overview

Return a specified value as a result of stubbing

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#repeatObject (readonly)

Returns the value of attribute repeat.



7
8
9
# File 'lib/fixturama/changes/chain/return_action.rb', line 7

def repeat
  @repeat
end

Instance Method Details

#callObject



9
10
11
# File 'lib/fixturama/changes/chain/return_action.rb', line 9

def call
  @value
end