module ObjectExtensions

Public Instance Methods

integer?() click to toggle source
  # File lib/core_extensions/object/is_integer.rb
5 def integer?
6   Integer(self)
7 rescue StandardError
8   false
9 end