sonic-pi

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

C++

Code. Music. Live.

ActiveSupport::Dependencies::ModuleConstMissing#guess_for_anonymous

Dependencies assumes the name of the module reflects the nesting (unless
it can be proven that is not the case), and the path to the file that
defines the constant. Anonymous modules cannot follow these conventions
and we assume therefore the user wants to refer to a top-level constant.

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--ModuleConstMissing-guess_for_anonymous-for-pr


# Commit to git

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


# 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--ModuleConstMissing-guess_for_anonymous-for-pr

hub pull-request


# Celebrate!