lib/core/facets/integer/multiple.rb in facets-2.4.5 vs lib/core/facets/integer/multiple.rb in facets-2.5.0

- old
+ new

@@ -3,10 +3,10 @@ # Is is a multiple of a given number? # # 7.multiple?(2) #=> false # 8.multiple?(2) #=> true # - # CREDIT: Trans + # CREDIT: Trans def multiple?(number) self % number == 0 end