Class: Pod::Installer::TargetInstaller
- Inherits:
-
Object
- Object
- Pod::Installer::TargetInstaller
- Defined in:
- lib/cocoapods/installer/target_installer.rb
Overview
Controller class responsible of creating and configuring the static library target in Pods project. It also creates the support file needed by the target.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#sandbox ⇒ Sandbox
readonly
Sandbox the sandbox where the support files should be generated.
-
#target ⇒ Target
readonly
The library whose target needs to be generated.
Instance Method Summary collapse
-
#initialize(sandbox, target) ⇒ TargetInstaller
constructor
A new instance of TargetInstaller.
Constructor Details
#initialize(sandbox, target) ⇒ TargetInstaller
Returns a new instance of TargetInstaller.
20 21 22 23 |
# File 'lib/cocoapods/installer/target_installer.rb', line 20 def initialize(sandbox, target) @sandbox = sandbox @target = target end |
Instance Attribute Details
#sandbox ⇒ Sandbox (readonly)
Returns sandbox the sandbox where the support files should be generated.
11 12 13 |
# File 'lib/cocoapods/installer/target_installer.rb', line 11 def sandbox @sandbox end |
#target ⇒ Target (readonly)
Returns The library whose target needs to be generated.
15 16 17 |
# File 'lib/cocoapods/installer/target_installer.rb', line 15 def target @target end |