@api private Used to specify a change from a specific value (and, optionally, to a specific value).
@private
# File lib/rspec/matchers/built_in/change.rb, line 241 def does_not_match?(event_proc) if @description_suffix raise NotImplementedError, "`expect { }.not_to change { }.to()` is not supported" end @event_proc = event_proc return false unless Proc === event_proc @change_details.perform_change(event_proc) !@change_details.changed? && matches_before? end
Generated with the Darkfish Rdoc Generator 2.