Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- text = "Who's working on this project?"
- words = text.split
- foo = 'me!'
- words.each do |foo|
- puts foo
- end
- puts foo
- timur@timur-tp:~$ ruby ./test.rb
- Who's
- working
- on
- this
- project?
- me!
Advertisement
Add Comment
Please, Sign In to add comment