Created
March 3, 2017 07:31
-
-
Save mikezila/c6d7704756fb2ede6c9f7bae55e738b0 to your computer and use it in GitHub Desktop.
Get rekt m8
This file contains hidden or 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
#turns 'rekt' into | |
#R E K T | |
#E | |
#K | |
#T | |
subject = ARGV[0].upcase | |
subject.each_char do |x| | |
print x + ' ' | |
end | |
puts '' | |
subject.length.times do |x| | |
next if x == 0 | |
puts subject[x] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment