Class: Pod::Patcher
- Inherits:
-
Object
- Object
- Pod::Patcher
- Includes:
- Pod
- Defined in:
- lib/cocoapods-vemars/services/patcher.rb
Instance Attribute Summary collapse
-
#podfile_dir ⇒ Object
readonly
Returns the value of attribute podfile_dir.
-
#template ⇒ Object
readonly
Returns the value of attribute template.
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(podfile_dir, baseline, components_details, source, git_url, demo_tag) ⇒ Patcher
constructor
A new instance of Patcher.
Constructor Details
#initialize(podfile_dir, baseline, components_details, source, git_url, demo_tag) ⇒ Patcher
Returns a new instance of Patcher.
16 17 18 19 20 21 22 23 24 25 |
# File 'lib/cocoapods-vemars/services/patcher.rb', line 16 def initialize(podfile_dir, baseline, components_details, source, git_url,demo_tag) @podfile_dir = podfile_dir @template = PodfileTemplate.new(baseline, components_details, source) @components_details = components_details @git_url = git_url puts git_url @hasInjectedSource = false @hasInjectedVemarsPods = false @demo_tag = demo_tag end |
Instance Attribute Details
#podfile_dir ⇒ Object (readonly)
Returns the value of attribute podfile_dir.
13 14 15 |
# File 'lib/cocoapods-vemars/services/patcher.rb', line 13 def podfile_dir @podfile_dir end |
#template ⇒ Object (readonly)
Returns the value of attribute template.
14 15 16 |
# File 'lib/cocoapods-vemars/services/patcher.rb', line 14 def template @template end |
Instance Method Details
#execute ⇒ Object
27 28 29 30 31 |
# File 'lib/cocoapods-vemars/services/patcher.rb', line 27 def execute insert_plist plugin_demos patch_podfile end |