sonic-pi

https://github.com/sonic-pi-net/sonic-pi

C++

Code. Music. Live.

Locale::Info::Language#initialize

Constructs a new Language instance.

* code  The 2 or 3 digit ISO 639-3 language code.
* scope A single character that defines the ISO scope of the language - <tt>(I)ndividual</tt>,
  <tt>(M)acrolanguage</tt>, or <tt>(S)pecial</tt>.
* type   A single character that defines the ISO type of the language - <tt>(A)ncient</tt>,
  <tt>(C)onstructed</tt>, <tt>(E)xtinct</tt>, <tt>(H)istorical</tt>, <tt>(L)iving</tt>,
  or <tt>(S)pecial</tt>.
* name  The name of the language.

Source | Google | Stack overflow

Edit

git clone [email protected]:sonic-pi-net/sonic-pi.git

cd sonic-pi

open app/server/ruby/vendor/locale-2.1.2/lib/locale/info/language.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Locale--Info--Language-initialize-for-pr


# Commit to git

git add app/server/ruby/vendor/locale-2.1.2/lib/locale/info/language.rbgit commit -m "better docs for Locale::Info::Language#initialize"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Locale--Info--Language-initialize-for-pr

hub pull-request


# Celebrate!