From 0bf9d7fc7c7bf84b6618a846c99fc0f28b8eb916 Mon Sep 17 00:00:00 2001 From: Christopher Blanchard Date: Fri, 22 May 2015 14:22:03 +0100 Subject: [PATCH] Remove unusued methods --- lib/verification.rb | 4 ---- 1 file changed, 4 deletions(-) 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 = ""