sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
ActiveSupport::TimeZone#now
Returns an ActiveSupport::TimeWithZone instance representing the current time in the time zone represented by +self+. Time.zone = 'Hawaii' # => "Hawaii" Time.zone.now # => Wed, 23 Jan 2008 20:24:27 HST -10:00
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 branchgit checkout -b -your-name--update-docs-ActiveSupport--TimeZone-now-for-pr
# Commit to gitgit add app/server/ruby/vendor/activesupport-7.0.6/lib/active_support/values/time_zone.rbgit commit -m "better docs for ActiveSupport::TimeZone#now"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-ActiveSupport--TimeZone-now-for-pr
hub pull-request
# Celebrate!