method
execute_change
1.1.4 -
Show latest stable
- Class:
Spec::Matchers::Change
execute_change()public
No documentation available.
# 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