lib/licensed/source/manifest.rb
# Returns the license path for a package specified in the configuration.
Returns the license path for a package specified in the configuration.
Returns the license path for a package specified in the configuration .
def package_license(package_name)
        license_path = @config.dig("manifest", "licenses", package_name)
        return unless license_path
        license_path = @config.root.join(license_path)
        return unless license_path.exist?
        license_path
      end
def package_license ( package_name ) license_path = @config . dig ( "manifest" , "licenses" , package_name ) return unless license_path license_path = @config . root . join ( license_path ) return unless license_path . exist? license_path end
Returns the license path for a package specified in the configuration.
Returns the license path for a package specified in the configuration .
package_name