Class: DatarocketsStyle::Formatter::TodoListFormatter::ReportSummary::FileGroup
- Inherits:
-
Struct
- Object
- Struct
- DatarocketsStyle::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
17 18 19 |
# File 'lib/datarockets_style/formatter/todo_list_formatter/report_summary.rb', line 17 def file @file end |
#offenses_count ⇒ Object
Returns the value of attribute offenses_count
17 18 19 |
# File 'lib/datarockets_style/formatter/todo_list_formatter/report_summary.rb', line 17 def offenses_count @offenses_count end |
Instance Method Details
#print(output) ⇒ Object
18 19 20 |
# File 'lib/datarockets_style/formatter/todo_list_formatter/report_summary.rb', line 18 def print(output) output.puts " - '#{file}' # #{offenses_count}" end |