Class: Pod::DyInstaller::Xcode::PodsProjectGenerator::TargetInstaller
- Inherits:
-
Object
- Object
- Pod::DyInstaller::Xcode::PodsProjectGenerator::TargetInstaller
- Defined in:
- lib/pod/installer/xcode/pods_project_generator/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
Target The library whose target needs to be generated.
Instance Method Summary collapse
-
#initialize(sandbox, target) ⇒ TargetInstaller
constructor
Initialize a new instance.
Constructor Details
#initialize(sandbox, target) ⇒ TargetInstaller
Initialize a new instance
25 26 27 28 |
# File 'lib/pod/installer/xcode/pods_project_generator/target_installer.rb', line 25 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.
13 14 15 |
# File 'lib/pod/installer/xcode/pods_project_generator/target_installer.rb', line 13 def sandbox @sandbox end |
#target ⇒ Target (readonly)
Returns target The library whose target needs to be generated.
18 19 20 |
# File 'lib/pod/installer/xcode/pods_project_generator/target_installer.rb', line 18 def target @target end |