lib/zip_check.rb in my-congress-0.2.0 vs lib/zip_check.rb in my-congress-0.2.1
- old
+ new
@@ -1,15 +1,13 @@
-# require "require_all"
-# require_all "lib"
-# require 'pry'
+
class ZipCheck
def initialize(zip)
if zip.length != 5 || zip.scan(/[0-9]{5}/)[0].length != 5
puts "Zip Code is Invalid. Press 'Enter' to return to Main Menu.".colorize(:blue)
nothing = gets.chomp
- MyCongress.new.call
+ MCongress.new.call
end
end
end
\ No newline at end of file