Skip to content
Browse files

Grammar fixes for Object#in? documentation.

  • Loading branch information...
1 parent 783007a commit c389b832f0f3aad2bf9550c81a20a8c5e6574423 @chuyeow chuyeow committed Apr 22, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 activesupport/lib/active_support/core_ext/object/inclusion.rb
View
4 activesupport/lib/active_support/core_ext/object/inclusion.rb
@@ -1,11 +1,11 @@
class Object
# Returns true if this object is included in the argument. Argument must be
- # any object which respond to +#include?+. Usage:
+ # any object which responds to +#include?+. Usage:
#
# characters = ["Konata", "Kagami", "Tsukasa"]
# "Konata".in?(characters) # => true
#
- # This will throw an ArgumentError if the supplied argument doesnt not respond
+ # This will throw an ArgumentError if the argument doesn't respond
# to +#include?+.
def in?(another_object)
another_object.include?(self)

0 comments on commit c389b83

Please sign in to comment.
Something went wrong with that request. Please try again.