Skip to content

Commit

Permalink
Correct docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
myronmarston committed Nov 30, 2013
1 parent 68f5bff commit a0f0149
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/rspec/matchers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,8 @@ def be_within(delta)
# but not both.
#
# When passing a block, it must use the <tt>{ ... }</tt> format, not
# do/end, as <tt>{ ... }</tt> binds to the +change+ method, whereas do/end
# would errantly bind to the +expect(..)+ or +expect(..).not_to+ method.
# do/end, as <tt>{ ... }</tt> binds to the `change` method, whereas do/end
# would errantly bind to the `expect(..).to` or `expect(...).not_to` method.
#
# @example
#
Expand Down Expand Up @@ -379,7 +379,7 @@ def eq(expected)
BuiltIn::Eq.new(expected)
end

# Passes if +actual.eql?(expected)+
# Passes if `actual.eql?(expected)`
#
# See http://www.ruby-doc.org/core/classes/Object.html#M001057 for more
# information about equality in Ruby.
Expand Down

0 comments on commit a0f0149

Please sign in to comment.