class Heroku::Command::Update
update the heroku client
Public Instance Methods
beta()
click to toggle source
update:beta
update to the latest beta client
$ heroku update Updating… done, v1.2.3 updated to v2.3.4.pre
# File lib/heroku/command/update.rb, line 32 def beta validate_arguments! update_from_url(true) end
index()
click to toggle source
update
update the heroku client
Example:
$ heroku update Updating… done, v1.2.3 updated to v2.3.4
# File lib/heroku/command/update.rb, line 17 def index validate_arguments! update_from_url(false) if Heroku::JSPlugin.setup? Heroku::JSPlugin.update end end
Private Instance Methods
update_from_url(prerelease)
click to toggle source
# File lib/heroku/command/update.rb, line 39 def update_from_url(prerelease) Heroku::Updater.check_disabled! Heroku::Updater.update(prerelease) end