From bd4a3cce4ecd8e648179a91e26506e3622ac2162 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Sun, 3 Jan 2010 11:15:25 +0100 Subject: removes warning in multiple_of? that is no longer needed after 7a2554d --- railties/guides/source/active_support_core_extensions.textile | 2 -- 1 file changed, 2 deletions(-) (limited to 'railties') 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 -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+ -- cgit v1.2.3