Class: LicenseFinder::TextReport
- Defined in:
- lib/license_finder/reports/text_report.rb
Constant Summary collapse
- COMMA_SEP =
', '.freeze
Constants inherited from CsvReport
CsvReport::AVAILABLE_COLUMNS, CsvReport::MISSING_DEPENDENCY_TEXT, CsvReport::NEWLINE_SEP
Instance Method Summary collapse
-
#initialize(dependencies, options = {}) ⇒ TextReport
constructor
A new instance of TextReport.
Methods inherited from CsvReport
Methods inherited from Report
Constructor Details
#initialize(dependencies, options = {}) ⇒ TextReport
Returns a new instance of TextReport.
5 6 7 8 9 10 |
# File 'lib/license_finder/reports/text_report.rb', line 5 def initialize(dependencies, = {}) super(dependencies, ) default_columns = %w[name version licenses] @columns = default_columns if @columns.empty? end |