sonic-pi

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

C++

Code. Music. Live.

ActiveSupport::Cache::MemCacheStore#initialize

Creates a new MemCacheStore object, with the given memcached server
addresses. Each address is either a host name, or a host-with-port string
in the form of "host_name:port". For example:

  ActiveSupport::Cache::MemCacheStore.new("localhost", "server-downstairs.localnetwork:8229")

If no addresses are specified, then MemCacheStore will connect to
localhost port 11211 (the default memcached port).

Source | Google | Stack overflow

Edit

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

cd sonic-pi

open app/server/ruby/vendor/activesupport-7.0.6/lib/active_support/cache/mem_cache_store.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-ActiveSupport--Cache--MemCacheStore-initialize-for-pr


# Commit to git

git add app/server/ruby/vendor/activesupport-7.0.6/lib/active_support/cache/mem_cache_store.rbgit commit -m "better docs for ActiveSupport::Cache::MemCacheStore#initialize"


# 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--Cache--MemCacheStore-initialize-for-pr

hub pull-request


# Celebrate!