Skip to content

Instantly share code, notes, and snippets.

@mikezila
Created March 3, 2017 07:31
Show Gist options
  • Save mikezila/c6d7704756fb2ede6c9f7bae55e738b0 to your computer and use it in GitHub Desktop.
Save mikezila/c6d7704756fb2ede6c9f7bae55e738b0 to your computer and use it in GitHub Desktop.
Get rekt m8
#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