sonic-pi

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

C++

Code. Music. Live.

ActiveSupport::Dependencies::Loadable#unloadable

Mark the given constant as unloadable. Unloadable constants are removed
each time dependencies are cleared.

Note that marking a constant for unloading need only be done once. Setup
or init scripts may list each unloadable constant that may need unloading;
each constant will be removed for every subsequent clear, as opposed to
for the first clear.

The provided constant descriptor may be a (non-anonymous) module or class,
or a qualified constant name as a string or symbol.

Returns +true+ if the constant was not previously marked for unloading,
+false+ otherwise.

Source | Google | Stack overflow

Edit

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

cd sonic-pi

open app/server/ruby/vendor/activesupport/lib/active_support/dependencies.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-ActiveSupport--Dependencies--Loadable-unloadable-for-pr


# Commit to git

git add app/server/ruby/vendor/activesupport/lib/active_support/dependencies.rbgit commit -m "better docs for ActiveSupport::Dependencies::Loadable#unloadable"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-ActiveSupport--Dependencies--Loadable-unloadable-for-pr

hub pull-request


# Celebrate!