diff --git a/lib/verification.rb b/lib/verification.rb index 0ca0403..9611585 100644 --- a/lib/verification.rb +++ b/lib/verification.rb @@ -3,10 +3,6 @@ module Verification str.to_s.gsub(/[^A-Za-z0-9_\-]/, "") end - def Verification.match_addr str - str.to_s.match(/(([0-9]{1,3}\.){3}[0-9]{1,3}):?([0-9]{0,5})/)[0] - end - def Verification.random_string len chars = ("a".."z").to_a + ("A".."Z").to_a + ("0".."9").to_a str = ""