lib/matchi/change/from.rb in matchi-3.0.0 vs lib/matchi/change/from.rb in matchi-3.1.0

- old
+ new

@@ -28,11 +28,11 @@ # @example # require "matchi/change/from" # # object = "foo" # - # change = Matchi::Change::From.new("foo") { object.to_s } - # change.to("FOO") + # change_from_wrapper = Matchi::Change::From.new("foo") { object.to_s } + # change_from_wrapper.to("FOO") # # @param expected_new_value [#object_id] The new value to expect. # # @return [#matches?] A *change from to* matcher. def to(expected_new_value)