public
Created

Kleyn: FP II

  • Download Gist
words.rb
Ruby
1 2 3 4
words = ["foo", "bar", "baz", "pibb"]
words.map do |word|
"mr " + word
end # => ["mr foo", "mr bar", "mr baz", "mr pibb"]

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.