0.0
No commit activity in last 3 years
No release in over 3 years
Just a easy way to titleize names for pt-BR
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0
 Project Readme

TitleizePTBR

Just a easy way to titleize names for pt-BR. Special HUG to reu for help on my first gem :D

Installation

Add this line to your application's Gemfile:

gem 'titleizePTBR'

And then execute:

$ bundle

Or install it yourself as:

$ gem install titleizePTBR

Usage

Just call titleize_pt_br

"joão da silva".titleize_pt_br => "João da Silva"
"ministério das finanças".titleize_pt_br => "Ministério das Finanças"
"josé do amaral".titleize_pt_br => "José do Amaral"
"RIO DE JANEIRO".titleize_pt_br => "Rio de Janeiro"
"Joaquim Dos ANJOS".titleize_pt_br => "Joaquim dos Anjos"
"morro cabeça no tempo".titleize_pt_br => "Morro Cabeça no Tempo"
"MARTINS costa e silva".titleize_pt_br => "Martins Costa e Silva"

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request