Class: LicenseFinder::Report
- Inherits:
-
Object
- Object
- LicenseFinder::Report
- Defined in:
- lib/license_finder/report.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(dependencies, options) ⇒ Report
constructor
A new instance of Report.
Constructor Details
#initialize(dependencies, options) ⇒ Report
Returns a new instance of Report.
9 10 11 12 13 |
# File 'lib/license_finder/report.rb', line 9 def initialize(dependencies, ) @dependencies = dependencies @project_name = [:project_name] @use_spdx_id = [:use_spdx_id] end |
Class Method Details
.of(dependencies, options) ⇒ Object
5 6 7 |
# File 'lib/license_finder/report.rb', line 5 def self.of(dependencies, ) new(dependencies, ).to_s end |