sonic-pi

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

C++

Code. Music. Live.

AST::Node#assign_properties

By default, each entry in the `properties` hash is assigned to
an instance variable in this instance of Node. A subclass should define
attribute readers for such variables. The values passed in the hash
are not frozen or whitelisted; such behavior can also be implemented\
by subclassing Node and overriding this method.

Source | Google | Stack overflow

Edit

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

cd sonic-pi

open app/server/ruby/vendor/ast-2.0.0/lib/ast/node.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-AST--Node-assign_properties-for-pr


# Commit to git

git add app/server/ruby/vendor/ast-2.0.0/lib/ast/node.rbgit commit -m "better docs for AST::Node#assign_properties"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-AST--Node-assign_properties-for-pr

hub pull-request


# Celebrate!