sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
ActiveSupport::Inflector#inflections
Yields a singleton instance of Inflector::Inflections so you can specify
additional inflector rules. If passed an optional locale, rules for other
languages can be specified. If not specified, defaults to <tt>:en</tt>.
Only rules for English are provided.
ActiveSupport::Inflector.inflections(:en) do |inflect|
inflect.uncountable 'rails'
endEdit
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-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"
# 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-for-pr
hub pull-request
# Celebrate!