sonic-pi

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

C++

Code. Music. Live.

GetText::ErbParser.init

Sets some preferences to parse ERB files.
* config: a Hash of the config. It can takes some values below:
  * :extnames: An Array of target files extension. Default is [".rhtml"].

Source | Google | Stack overflow

Edit

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

cd sonic-pi

open app/server/ruby/vendor/gettext-3.4.3/lib/gettext/tools/parser/erb.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-GetText--ErbParser-init-for-pr


# Commit to git

git add app/server/ruby/vendor/gettext-3.4.3/lib/gettext/tools/parser/erb.rbgit commit -m "better docs for GetText::ErbParser.init"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-GetText--ErbParser-init-for-pr

hub pull-request


# Celebrate!