sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
ActiveSupport::Inflector::Inflections#human
Specifies a humanized form of a string by a regular expression rule or by a string mapping. When using a regular expression based replacement, the normal humanize formatting is called after the replacement. When a string is used, the human form should be specified as desired (example: 'The name', not 'the_name'). human /_cnt$/i, '\1_count' human 'legacy_col_person_name', 'Name'
Edit
git clone [email protected]:sonic-pi-net/sonic-pi.git
cd sonic-pi
open app/server/ruby/vendor/activesupport-7.0.6/lib/active_support/inflector/inflections.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-ActiveSupport--Inflector--Inflections-human-for-pr
# Commit to gitgit add app/server/ruby/vendor/activesupport-7.0.6/lib/active_support/inflector/inflections.rbgit commit -m "better docs for ActiveSupport::Inflector::Inflections#human"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-ActiveSupport--Inflector--Inflections-human-for-pr
hub pull-request
# Celebrate!