class Luffa::XcodeInstall
Attributes
path[R]
version[R]
Public Class Methods
new(path)
click to toggle source
# File lib/luffa/ios/xcode.rb, line 6 def initialize(path) Luffa::Xcode.with_developer_dir(path) do @version = lambda { xcode_build_output = `xcrun xcodebuild -version`.split(/\s/)[1] Luffa::Version.new(xcode_build_output) }.call @path = path end end
Public Instance Methods
==(other)
click to toggle source
# File lib/luffa/ios/xcode.rb, line 21 def == (other) other.path == path && other.version == version end
version_string()
click to toggle source
# File lib/luffa/ios/xcode.rb, line 17 def version_string version.to_s end