Permalink
Browse files

improved documentation for change method

- Closes #51.
  • Loading branch information...
1 parent 2b10fc0 commit 9a704ea146a7eb1fdef808c7f0f5c974aafbe026 @joliss joliss committed with dchelimsky Dec 19, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/rspec/matchers/change.rb
@@ -130,6 +130,9 @@ def matches_max?
#
# Allows you to specify that a Proc will cause some value to change.
#
+ # You can either pass <tt>receiver</tt> and <tt>message</tt>, or a block,
+ # but not both.
+ #
# == Examples
#
# lambda {

0 comments on commit 9a704ea

Please sign in to comment.