Class: Pod::Generator::Acknowledgements
- Inherits:
-
Object
- Object
- Pod::Generator::Acknowledgements
- Defined in:
- lib/cocoapods-kz/native/acknowledgements.rb
Instance Method Summary collapse
Instance Method Details
#license_text(spec) ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/cocoapods-kz/native/acknowledgements.rb', line 8 def license_text(spec) if KZ::KZGlobalHelper.instance.kz_pod_enable return nil unless spec.license text = spec.license[:text] text else origin_license_text(spec) end end |
#origin_license_text ⇒ Object
7 |
# File 'lib/cocoapods-kz/native/acknowledgements.rb', line 7 alias_method :origin_license_text, :license_text |