class String

Public Instance Methods

is_integer() click to toggle source
# File lib/data_magic/core_ext/string.rb, line 4
def is_integer
  true if Integer(self)
rescue StandardError
  false
end