You are viewing a single comment's thread. Return to all comments →
I found that it can be done using .tr ? any ideas?
def rot13(secret_messages) secret_messages.map do |word| word.tr("a-z", "n-za-m") end end
Seems like cookies are disabled on this browser, please enable them to open this website
Ruby - Enumerable - collect
You are viewing a single comment's thread. Return to all comments →
I found that it can be done using .tr ? any ideas?