Number Ruby

12.integer? # => true
12.0.integer? # => false
-1.integer? # => true
-12.integer? # => true