global

def integer?(value)

def integer?(value)
  !(value =~ /\A-?0+\Z|\A-?[1-9]\d*\Z/).nil?
end