class XcodeInstall::Command::Installed
Public Class Methods
new(argv)
click to toggle source
Calls superclass method
# File lib/xcode/install/installed.rb, line 11 def initialize(argv) @uuid = argv.flag?('uuid', false) super end
options()
click to toggle source
Calls superclass method
# File lib/xcode/install/installed.rb, line 7 def self.options [['--uuid', 'Show DVTPlugInCompatibilityUUIDs in the list.']].concat(super) end
Public Instance Methods
run()
click to toggle source
# File lib/xcode/install/installed.rb, line 16 def run installer = XcodeInstall::Installer.new installer.installed_versions.each do |xcode| puts "#{xcode.version}\t(#{xcode.path})\t#{@uuid ? xcode.uuid : ''}" end end