From a0f0149aa3cbc02ee7dba82b2e7b41a656d1eb5b Mon Sep 17 00:00:00 2001 From: Myron Marston Date: Sat, 30 Nov 2013 14:49:40 -0800 Subject: [PATCH] Correct docs. --- lib/rspec/matchers.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/rspec/matchers.rb b/lib/rspec/matchers.rb index fdc134acc..0ca41c487 100644 --- a/lib/rspec/matchers.rb +++ b/lib/rspec/matchers.rb @@ -276,8 +276,8 @@ def be_within(delta) # but not both. # # When passing a block, it must use the { ... } format, not - # do/end, as { ... } binds to the +change+ method, whereas do/end - # would errantly bind to the +expect(..)+ or +expect(..).not_to+ method. + # do/end, as { ... } binds to the `change` method, whereas do/end + # would errantly bind to the `expect(..).to` or `expect(...).not_to` method. # # @example # @@ -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.