Sha256: d5bc46166000b3ad2729c304ea11b71c3b2d2d53ea4371cfe63df2585a6a6252
Contents?: true
Size: 350 Bytes
Versions: 10
Compression:
Stored size: 350 Bytes
Contents
# 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 end end end
Version data entries
10 entries across 10 versions & 1 rubygems