Class: OS::Mac::SDK

Inherits:
Object
  • Object
show all
Defined in:
Library/Homebrew/os/mac/sdk.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(version, path) ⇒ SDK

Returns a new instance of SDK



8
9
10
11
# File 'Library/Homebrew/os/mac/sdk.rb', line 8

def initialize(version, path)
  @version = OS::Mac::Version.new version
  @path = Pathname.new(path)
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path



6
7
8
# File 'Library/Homebrew/os/mac/sdk.rb', line 6

def path
  @path
end

#versionObject (readonly)

Returns the value of attribute version



6
7
8
# File 'Library/Homebrew/os/mac/sdk.rb', line 6

def version
  @version
end