Guest User

Untitled

a guest
Feb 19th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.08 KB | None | 0 0
  1. str = "Foo bar baz"
  2.  
  3. str.scan(/\w+/i).each do |match|
  4. puts "Match #{match}"
  5. end
Add Comment
Please, Sign In to add comment