Guest User

Untitled

a guest
May 23rd, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. #!/usr/bin/env ruby
  2.  
  3. words = gets().split(" ")
  4.  
  5. words = words.map { |word| "$#{word}" }
  6. print "my(#{words.join(', ')}) = ${1:@_};\n$0"
Add Comment
Please, Sign In to add comment