Class: Pod::Installer
- Inherits:
-
Object
- Object
- Pod::Installer
- Defined in:
- lib/cocoapods_plugin.rb
Instance Attribute Summary collapse
-
#generate_lockfile_only ⇒ Object
(also: #generate_lockfile_only?)
Returns the value of attribute generate_lockfile_only.
Instance Method Summary collapse
Instance Attribute Details
#generate_lockfile_only ⇒ Object Also known as: generate_lockfile_only?
Returns the value of attribute generate_lockfile_only.
6 7 8 |
# File 'lib/cocoapods_plugin.rb', line 6 def generate_lockfile_only @generate_lockfile_only end |
Instance Method Details
#install! ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/cocoapods_plugin.rb', line 11 def install! if generate_lockfile_only? UI.section "Skipping the download of the dependencies due to --#{CocoapodsLockfile::FLAG_NAME} was passed".yellow prepare resolve_dependencies write_lockfiles return end original_install! end |
#original_install! ⇒ Object
9 |
# File 'lib/cocoapods_plugin.rb', line 9 alias_method :original_install!, :install! |