class Fixnum
def divisible_by?(first,*args)
args += [first]
args.each do |arg|
return false unless Divisible.check(self, arg)
end
true
end
# DEPRECATED: Please use divisible_by? instead.
def divisible_by(*args)
warn "[DEPRECATION] `divisible_by` is deprecated. Please use `divisible_by?` instead."
divisible_by?(*args)
end
end