method
even?
Ruby on Rails latest stable (v7.1.3.2)
-
0 notes -
Class: ActiveSupport::CoreExtensions::Integer::EvenOdd
even?()
public
Hide source
# File activesupport/lib/active_support/core_ext/integer/even_odd.rb, line 19 def even? multiple_of? 2 end