Flowdock
method

multiple_of?

Importance_1
Ruby on Rails latest stable (v4.2.1) - 0 notes - Class: Integer
multiple_of?(number) public

Check whether the integer is evenly divisible by the argument.

0.multiple_of?(0)  # => true
6.multiple_of?(5)  # => false
10.multiple_of?(2) # => true
Show source
Register or log in to add new notes.