Browse files

Update guide mentioning that +in?+ may raise an +ArgumentError+ excep…

…tion
  • Loading branch information...
1 parent 28bf4c6 commit 5be72684f6bbaf83359864b3f46c156de1d9e3ba @smartinez87 smartinez87 committed Apr 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/active_support_core_extensions.textile
View
2 railties/guides/source/active_support_core_extensions.textile
@@ -444,7 +444,7 @@ NOTE: Defined in +active_support/core_ext/kernel/requires.rb+.
h4. +in?+
-The predicate +in?+ tests if an object is included in another object.
+The predicate +in?+ tests if an object is included in another object. An +ArgumentError+ exception will be raised if the argument passed does not respond to +include?+.
Examples of +in?+:

0 comments on commit 5be7268

Please sign in to comment.