class XcodeInstaller::Logout
Public Instance Methods
action(args, options)
click to toggle source
# File lib/xcode-installer/logout.rb, line 8 def action(args, options) say_error "You are not authenticated" and abort unless Security::InternetPassword.find(:server => XcodeInstaller::AppleDeveloperCenter::HOST) Security::InternetPassword.delete(:server => XcodeInstaller::AppleDeveloperCenter::HOST) say_ok "Account credentials removed" end