Class: Mocha::ChangeStateSideEffect
- Defined in:
- lib/mocha/change_state_side_effect.rb
Instance Method Summary collapse
-
#initialize(state) ⇒ ChangeStateSideEffect
constructor
A new instance of ChangeStateSideEffect.
- #mocha_inspect ⇒ Object
- #perform ⇒ Object
Constructor Details
#initialize(state) ⇒ ChangeStateSideEffect
Returns a new instance of ChangeStateSideEffect.
5 6 7 |
# File 'lib/mocha/change_state_side_effect.rb', line 5 def initialize(state) @state = state end |