sonic-pi

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

C++

Code. Music. Live.

ActiveSupport::TimeZone#initialize

Create a new TimeZone object with the given name and offset. The
offset is the number of seconds that this time zone is offset from UTC
(GMT). Seconds were chosen as the offset unit because that is the unit
that Ruby uses to represent time zone offsets (see Time#utc_offset).

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/values/time_zone.rb

Contribute

# Make a new branch

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


# Commit to git

git add app/server/ruby/vendor/activesupport-7.0.6/lib/active_support/values/time_zone.rbgit commit -m "better docs for ActiveSupport::TimeZone#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--TimeZone-initialize-for-pr

hub pull-request


# Celebrate!