method
execute_change

1.1.4 -
Show latest stable
-
0 notes -
Class: Spec::Matchers::Change
- 1.1.4 (0)
- 1.1.12
- 1.2.0
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
execute_change()
public
Hide source
# File lib/spec/matchers/change.rb, line 30 def execute_change @before = @block.nil? ? @receiver.send(@message) : @block.call @target.call @after = @block.nil? ? @receiver.send(@message) : @block.call end