#!/usr/bin/env ruby =begin |======================| | PhoneNumberValidator | |----------------------| | Made by: bag33188 | |======================| =end require 'phone_number_validator' print "\r\n" if ARGV[0] == nil || ARGV[0] == "" || ARGV[0] == '' puts("No phone number entered.") else # execute validator puts(PhoneNumberValidator.validate_phone_number(ARGV[0])) end print "\r\n"