Class: Fixturama::Changes::Chain::ReturnAction
- Inherits:
-
Object
- Object
- Fixturama::Changes::Chain::ReturnAction
- Defined in:
- lib/fixturama/changes/chain/return_action.rb
Overview
Return a specified value as a result of stubbing
Instance Attribute Summary collapse
-
#repeat ⇒ Object
readonly
Returns the value of attribute repeat.
Instance Method Summary collapse
Instance Attribute Details
#repeat ⇒ Object (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
#call ⇒ Object
9 10 11 |
# File 'lib/fixturama/changes/chain/return_action.rb', line 9 def call @value end |