Flowdock
method

execute_change

Importance_0
1.1.4 - Show latest stable - 0 notes - Class: Spec::Matchers::Change
execute_change() public

No documentation

This method has no description. You can help the RSpec community by adding new notes.

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
Register or log in to add new notes.