You are viewing a single comment's thread. Return to all comments →
def process_text(array) array.map {|s| s.strip }.join(' ') end
Seems like cookies are disabled on this browser, please enable them to open this website
Ruby - Strings - Methods I
You are viewing a single comment's thread. Return to all comments →
def process_text(array) array.map {|s| s.strip }.join(' ') end