Sha256: b5b7979b5af485caf763f83c980b4cc8b23a579baa8cf5068be181355e19bc80
Contents?: true
Size: 822 Bytes
Versions: 29
Compression:
Stored size: 822 Bytes
Contents
# frozen_string_literal: true module LicenseFinder class Report def self.of(dependencies, options) new(dependencies, options).to_s end def initialize(dependencies, options) @dependencies = dependencies @project_name = options[:project_name] end private attr_reader :dependencies, :project_name def sorted_dependencies dependencies.sort end end end require 'license_finder/reports/erb_report' require 'license_finder/reports/csv_report' require 'license_finder/reports/text_report' require 'license_finder/reports/diff_report' require 'license_finder/reports/merged_report' require 'license_finder/reports/html_report' require 'license_finder/reports/markdown_report' require 'license_finder/reports/xml_report' require 'license_finder/reports/json_report'
Version data entries
29 entries across 29 versions & 1 rubygems