Module: Pod::Podfile::DSL
- Included in:
- Pod::Podfile
- Defined in:
- lib/cocoapods-hbh/command/common/podfile.rb
Instance Method Summary collapse
Instance Method Details
#pod_git(name = nil, *requirements) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/cocoapods-hbh/command/common/podfile.rb', line 10 def pod_git(name = nil, *requirements) unless name raise StandardError, 'A dependency requires a name.' end add_sub_module = AddModule.new(@current_target_definition) add_sub_module.pod_submoudle(name, *requirements) end |
#pod_hbh(name = nil, *requirements) ⇒ Object
18 19 20 21 22 23 24 |
# File 'lib/cocoapods-hbh/command/common/podfile.rb', line 18 def pod_hbh(name = nil, *requirements) unless name raise StandardError, 'A dependency requires a name.' end add_sub_module = AddModule.new(@current_target_definition) add_sub_module.pod_private(name, *requirements) end |