Last active
August 29, 2015 14:14
-
-
Save Fresheyeball/47bd43cd28b02e4e0ac0 to your computer and use it in GitHub Desktop.
Vertical Thingy Disambiguator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puts "vertical thingy disambiguator" | |
thingy = gets.chomp | |
if thingy.length > 1 | |
puts "too many thingies dude" | |
elsif thingy.length < 1 | |
puts "where is the thingy?" | |
else | |
case thingy | |
when "l" | |
puts "its a lower case L as in Lipid" | |
when "1" | |
puts "its the number one" | |
when "|" | |
puts "itsa a pipea" | |
when "I" | |
puts "its a capital I as in Integer" | |
else | |
puts "thats not a vertical thingy, its just '#{thingy}'" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment