diff options
Diffstat (limited to 'railties/guides')
-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+ |