Class: Datarockets::Style::Formatter::TodoListFormatter::ReportSummary::FileGroup
- Inherits:
-
Struct
- Object
- Struct
- Datarockets::Style::Formatter::TodoListFormatter::ReportSummary::FileGroup
- Defined in:
- lib/datarockets/style/formatter/todo_list_formatter/report_summary.rb
Instance Attribute Summary collapse
-
#file ⇒ Object
Returns the value of attribute file.
-
#offenses_count ⇒ Object
Returns the value of attribute offenses_count.
Instance Method Summary collapse
Instance Attribute Details
#file ⇒ Object
Returns the value of attribute file
16 17 18 |
# File 'lib/datarockets/style/formatter/todo_list_formatter/report_summary.rb', line 16 def file @file end |
#offenses_count ⇒ Object
Returns the value of attribute offenses_count
16 17 18 |
# File 'lib/datarockets/style/formatter/todo_list_formatter/report_summary.rb', line 16 def offenses_count @offenses_count end |
Instance Method Details
#print(output) ⇒ Object
17 18 19 |
# File 'lib/datarockets/style/formatter/todo_list_formatter/report_summary.rb', line 17 def print(output) output.puts " - '#{file}' # #{offenses_count}" end |