Guest User

Untitled

a guest
Dec 12th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Rails 0.09 KB | None | 0 0
  1. ['banana', 'anana', 'naan'].map do |food|
  2.   food.reverse
  3. end.select {|f| f.match /^a/}
Add Comment
Please, Sign In to add comment