aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/integer
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2012-05-12 18:07:26 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2012-05-12 18:07:26 +0530
commitf2af26dc817281b39a11d1f7131824dfbd4f7a76 (patch)
treeac7eca0597bd2d4d60b8c56ecb4310f82b45d699 /activesupport/lib/active_support/core_ext/integer
parentd897255f8a25c72aa72f14d2f82cb87058447fac (diff)
downloadrails-f2af26dc817281b39a11d1f7131824dfbd4f7a76.tar.gz
rails-f2af26dc817281b39a11d1f7131824dfbd4f7a76.tar.bz2
rails-f2af26dc817281b39a11d1f7131824dfbd4f7a76.zip
fix incorrect example [ci skip]
Diffstat (limited to 'activesupport/lib/active_support/core_ext/integer')
-rw-r--r--activesupport/lib/active_support/core_ext/integer/multiple.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/integer/multiple.rb b/activesupport/lib/active_support/core_ext/integer/multiple.rb
index 907a0df723..7c6c2f1ca7 100644
--- a/activesupport/lib/active_support/core_ext/integer/multiple.rb
+++ b/activesupport/lib/active_support/core_ext/integer/multiple.rb
@@ -2,7 +2,7 @@ class Integer
# Check whether the integer is evenly divisible by the argument.
#
# 0.multiple_of?(0) #=> true
- # 5.multiple_of?(5) #=> false
+ # 6.multiple_of?(5) #=> false
# 10.multiple_of?(2) #=> true
def multiple_of?(number)
number != 0 ? self % number == 0 : zero?