sonic-pi

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

C++

Code. Music. Live.

ActiveSupport::Dependencies#load_file

Load the file at the provided path. +const_paths+ is a set of qualified
constant names. When loading the file, Dependencies will watch for the
addition of these constants. Each that is defined will be marked as
autoloaded, and will be removed when Dependencies.clear is next called.

If the second parameter is left off, then Dependencies will construct a
set of names that the file at +path+ may define. See
+loadable_constants_for_path+ for more details.

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-load_file-for-pr


# Commit to git

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


# 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-load_file-for-pr

hub pull-request


# Celebrate!