Advertisement
Guest User

Untitled

a guest
Jan 11th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. def acronimyze(str)
  2. str.split.map {|word| word[0]}.join.upcase
  3. end
  4.  
  5. p acronimyze("station flop smaow")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement