Class: Pod::Installer::FileReferencesInstaller
- Inherits:
-
Object
- Object
- Pod::Installer::FileReferencesInstaller
- Defined in:
- lib/cocoapods/installer/file_references_installer.rb
Overview
Controller class responsible of installing the file references of the specifications in the Pods project.
Instance Attribute Summary collapse
-
#libraries ⇒ Array<Library>
readonly
The libraries of the installation.
-
#pods_project ⇒ Project
readonly
The Pods project.
-
#sandbox ⇒ Sandbox
readonly
The sandbox of the installation.
Instance Method Summary collapse
-
#initialize(sandbox, libraries, pods_project) ⇒ FileReferencesInstaller
constructor
A new instance of FileReferencesInstaller.
-
#install! ⇒ void
Installs the file references.
Constructor Details
#initialize(sandbox, libraries, pods_project) ⇒ FileReferencesInstaller
Returns a new instance of FileReferencesInstaller.
25 26 27 28 29 |
# File 'lib/cocoapods/installer/file_references_installer.rb', line 25 def initialize(sandbox, libraries, pods_project) @sandbox = sandbox @libraries = libraries @pods_project = pods_project end |
Instance Attribute Details
#libraries ⇒ Array<Library> (readonly)
Returns The libraries of the installation.
15 16 17 |
# File 'lib/cocoapods/installer/file_references_installer.rb', line 15 def libraries @libraries end |
#pods_project ⇒ Project (readonly)
Returns The Pods project.
19 20 21 |
# File 'lib/cocoapods/installer/file_references_installer.rb', line 19 def pods_project @pods_project end |
#sandbox ⇒ Sandbox (readonly)
Returns The sandbox of the installation.
11 12 13 |
# File 'lib/cocoapods/installer/file_references_installer.rb', line 11 def sandbox @sandbox end |
Instance Method Details
#install! ⇒ void
This method returns an undefined value.
Installs the file references.
35 36 37 38 39 40 |
# File 'lib/cocoapods/installer/file_references_installer.rb', line 35 def install! refresh_file_accessors add_source_files_references add_resources_references link_headers end |