Sha256: fc0e499d68743197e66fea274034b59a5192f676d6b81a29fc805caef9d1eadf
Contents?: true
Size: 868 Bytes
Versions: 11
Compression:
Stored size: 868 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' require 'license_finder/reports/junit_report'
Version data entries
11 entries across 11 versions & 2 rubygems