Sha256: bd1e586b6e766e875619703f4a21bb8e7b1b00b7ace2ea6f86029234b8c9b3f6
Contents?: true
Size: 290 Bytes
Versions: 2
Compression:
Stored size: 290 Bytes
Contents
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 MCongress.new.call end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
my-congress-0.2.2 | lib/zip_check.rb |
my-congress-0.2.1 | lib/zip_check.rb |