AgileVentures/LocalSupport

View on GitHub
app/models/first_capitals_humanizer.rb

Summary

Maintainability
A
0 mins
Test Coverage
class FirstCapitalsHumanizer
  def self.call(phrase)
    phrase.humanize.split(' ').map{|w| w.capitalize}.join(' ')
  end
end