Class: Pod::Installer::PostInstallHooksContext
- Inherits:
-
Object
- Object
- Pod::Installer::PostInstallHooksContext
- Defined in:
- lib/swordfish/hmap/post_install_hook_context.rb
Instance Attribute Summary collapse
-
#aggregate_targets ⇒ Object
Returns the value of attribute aggregate_targets.
Class Method Summary collapse
-
.generate(sandbox, pods_project, aggregate_targets) ⇒ Object
PostInstallHooksContext inherited from BaseContext, just override ‘generate`.
- .old_generate ⇒ Object
Instance Attribute Details
#aggregate_targets ⇒ Object
Returns the value of attribute aggregate_targets.
6 7 8 |
# File 'lib/swordfish/hmap/post_install_hook_context.rb', line 6 def aggregate_targets @aggregate_targets end |
Class Method Details
.generate(sandbox, pods_project, aggregate_targets) ⇒ Object
PostInstallHooksContext inherited from BaseContext, just override ‘generate`
32 33 34 35 36 37 |
# File 'lib/swordfish/hmap/post_install_hook_context.rb', line 32 def generate(sandbox, aggregate_targets) context = old_generate(sandbox, aggregate_targets) UI.info "- generate method of post install hook context hooked" context.aggregate_targets = aggregate_targets context end |
.old_generate ⇒ Object
11 12 13 14 15 16 |
# File 'lib/swordfish/hmap/post_install_hook_context.rb', line 11 def generate(sandbox, aggregate_targets) context = old_generate(sandbox, aggregate_targets) UI.info "- generate method of post install hook context hooked" context.aggregate_targets = aggregate_targets context end |