class String

Public Instance Methods

is_i?() click to toggle source
# File lib/string-is_int.rb, line 2
def is_i?
        /\A[-+]?\d+\z/
end