Comment Comment by reqres I'm curious to see how more experienced Rubyists on HN would write this. My stab:@sentence.split(' ').map(&:capitalize).join(' ')More terse and more descriptive (imo) parent reqres 10 years ago
@sentence.split(' ').map(&:capitalize).join(' ')
More terse and more descriptive (imo)