diff options
author | Sebastian Martinez <sebastian@wyeworks.com> | 2011-04-14 13:45:00 -0300 |
---|---|---|
committer | Sebastian Martinez <sebastian@wyeworks.com> | 2011-04-14 13:45:00 -0300 |
commit | 5be72684f6bbaf83359864b3f46c156de1d9e3ba (patch) | |
tree | 11f5ae13349efc4d317e4282d2ce027cc901dd1c /railties/guides | |
parent | 28bf4c67cab5cf266eeccb79bd543202daea3578 (diff) | |
download | rails-5be72684f6bbaf83359864b3f46c156de1d9e3ba.tar.gz rails-5be72684f6bbaf83359864b3f46c156de1d9e3ba.tar.bz2 rails-5be72684f6bbaf83359864b3f46c156de1d9e3ba.zip |
Update guide mentioning that +in?+ may raise an +ArgumentError+ exception
Diffstat (limited to 'railties/guides')
-rw-r--r-- | railties/guides/source/active_support_core_extensions.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/active_support_core_extensions.textile b/railties/guides/source/active_support_core_extensions.textile index 4cedba1d4d..b7f842a0d0 100644 --- a/railties/guides/source/active_support_core_extensions.textile +++ b/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?+: |