Permalink
Browse files

words

  • Loading branch information...
1 parent 8ece37a commit 2d32de6e8486f7151b3ac5cd7f4715a5ec81dfa6 @dchelimsky dchelimsky committed Oct 9, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/rspec/matchers/matcher.rb
View
4 lib/rspec/matchers/matcher.rb
@@ -22,7 +22,7 @@ def initialize(name, *expected, &declarations)
end
end
- #Used internally by objects returns by +should+ and +should_not+.
+ #Used internally by +should+ and +should_not+.
def matches?(actual)
@actual = actual
if @expected_exception
@@ -49,7 +49,7 @@ def does_not_match?(actual)
!matches?(actual)
end
- def define_method(name, &block)
+ def define_method(name, &block) # :nodoc:
singleton_class.__send__(:define_method, name, &block)
end

0 comments on commit 2d32de6

Please sign in to comment.