aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorCheah Chu Yeow <chuyeow@gmail.com>2011-04-22 15:14:14 +0800
committerCheah Chu Yeow <chuyeow@gmail.com>2011-04-22 15:14:14 +0800
commitc389b832f0f3aad2bf9550c81a20a8c5e6574423 (patch)
tree8d2e31838934afebed7101939d1ed6f8febb92e8 /activesupport/lib
parent783007a8ad7b4b61a1a671d1737a8a6e0369ceb9 (diff)
downloadrails-c389b832f0f3aad2bf9550c81a20a8c5e6574423.tar.gz
rails-c389b832f0f3aad2bf9550c81a20a8c5e6574423.tar.bz2
rails-c389b832f0f3aad2bf9550c81a20a8c5e6574423.zip
Grammar fixes for Object#in? documentation.
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/core_ext/object/inclusion.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/core_ext/object/inclusion.rb b/activesupport/lib/active_support/core_ext/object/inclusion.rb
index 51cfc62f2b..b5671f66d0 100644
--- a/activesupport/lib/active_support/core_ext/object/inclusion.rb
+++ b/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)