diff options
author | Xavier Noria <fxn@hashref.com> | 2010-01-03 11:15:25 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-01-03 11:15:25 +0100 |
commit | bd4a3cce4ecd8e648179a91e26506e3622ac2162 (patch) | |
tree | cfec1a06edd0246bcc42f226fb2549845cd749dc /railties/guides/source | |
parent | f95b12c3f3c7e80f1fbff18148c50036ef5c8dc7 (diff) | |
download | rails-bd4a3cce4ecd8e648179a91e26506e3622ac2162.tar.gz rails-bd4a3cce4ecd8e648179a91e26506e3622ac2162.tar.bz2 rails-bd4a3cce4ecd8e648179a91e26506e3622ac2162.zip |
removes warning in multiple_of? that is no longer needed after 7a2554d
Diffstat (limited to 'railties/guides/source')
-rw-r--r-- | railties/guides/source/active_support_core_extensions.textile | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/railties/guides/source/active_support_core_extensions.textile b/railties/guides/source/active_support_core_extensions.textile index 7e13944afb..3073c3a7a5 100644 --- a/railties/guides/source/active_support_core_extensions.textile +++ b/railties/guides/source/active_support_core_extensions.textile @@ -799,8 +799,6 @@ The method +multiple_of?+ tests whether an integer is multiple of the argument: 1.multiple_of?(2) # => false </ruby> -WARNING: Due the way it is implemented the argument must be nonzero, otherwise +ZeroDivisionError+ is raised. - NOTE: Defined in +active_support/core_ext/integer/multiple.rb+. h4. +ordinalize+ |