class Pod::DyInstaller::PreInstallHooksContext
Context object designed to be used with the HooksManager which describes the context of the installer before analysis has been completed.
Attributes
lockfile[RW]
@return [Lockfile] The Lockfile for the project.
podfile[RW]
@return [Podfile] The Podfile for the project.
sandbox[RW]
@return [Sandbox] The Sandbox for the project.
sandbox_root[RW]
@return [String] The path to the sandbox root (`Pods` directory).
Public Class Methods
generate(sandbox, podfile, lockfile)
click to toggle source
@param [Sandbox] sandbox see {#sandbox}
@param [Podfile] podfile see {#podfile}
@param [Lockfile] lockfile see {#lockfile}
@return [PreInstallHooksContext] Convenience class method to generate the
static context.
# File lib/pod/installer/pre_install_hooks_context.rb, line 32 def self.generate(sandbox, podfile, lockfile) result = new result.podfile = podfile result.sandbox = sandbox result.sandbox_root = sandbox.root.to_s result.lockfile = lockfile result end