Class: OS::Mac::SDK Private

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

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Class representing a macOS SDK.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(version, path, source) ⇒ SDK

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of SDK.


14
15
16
17
18
# File 'Library/Homebrew/os/mac/sdk.rb', line 14

def initialize(version, path, source)
  @version = version
  @path = Pathname.new(path)
  @source = source
end

Instance Attribute Details

#pathObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.


12
13
14
# File 'Library/Homebrew/os/mac/sdk.rb', line 12

def path
  @path
end

#sourceObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.


12
13
14
# File 'Library/Homebrew/os/mac/sdk.rb', line 12

def source
  @source
end

#versionObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.


12
13
14
# File 'Library/Homebrew/os/mac/sdk.rb', line 12

def version
  @version
end