Class: OS::Mac::SDK

Inherits:
Object
  • Object
show all
Defined in:
brew/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



10
11
12
13
# File 'brew/Library/Homebrew/os/mac/sdk.rb', line 10

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



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

def path
  @path
end

#versionObject (readonly)

Returns the value of attribute version



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

def version
  @version
end