Method: Pod::Specification::Set::Presenter#license

Defined in:
lib/cocoapods-core/specification/set/presenter.rb

#licenseString

Returns the type of the license of the Pod.

Examples:


"MIT"

Returns:

  • (String)

    the type of the license of the Pod.



163
164
165
# File 'lib/cocoapods-core/specification/set/presenter.rb', line 163

def license
  spec.license[:type] if spec.license
end