Sha256: 322e323d9876cb43cc9a48cc874958471fb60e74d168fa2f0aec91a385e6571d
Contents?: true
Size: 583 Bytes
Versions: 8
Compression:
Stored size: 583 Bytes
Contents
module Pod module Generator class Acknowledgements def license_text(spec) return nil unless spec.license text = spec.license[:text] unless text if license_file = spec.license[:file] license_path = file_accessor(spec).root + license_file if File.exist?(license_path) text = IO.read(license_path) else end elsif license_file = file_accessor(spec).license text = IO.read(license_file) end end text end end end end
Version data entries
8 entries across 8 versions & 1 rubygems