Module: CapitalizeAll

Defined in:
jekyll/_plugins/capitalize-all.rb

Overview

Capitalize all words of the input

Instance Method Summary collapse

Instance Method Details

#capitalize_all(words) ⇒ Object



3
4
5
# File 'jekyll/_plugins/capitalize-all.rb', line 3

def capitalize_all(words)
  return words.split(' ').map(&:capitalize).join(' ')
end