Class: DontRepeatYourself::NetbeansFormatter
- Inherits:
-
DefaultFormatter
- Object
- DefaultFormatter
- DontRepeatYourself::NetbeansFormatter
- Defined in:
- lib/dont_repeat_yourself/formatter.rb
Instance Attribute Summary
Attributes inherited from DefaultFormatter
Instance Method Summary collapse
Methods inherited from DefaultFormatter
#format_duplicate_lines_snippet, #initialize, #report, #report_body
Constructor Details
This class inherits a constructor from DontRepeatYourself::DefaultFormatter
Instance Method Details
#format_sentence_between_lines_x_and_y_in_filepath(block) ⇒ Object
61 62 63 |
# File 'lib/dont_repeat_yourself/formatter.rb', line 61 def format_sentence_between_lines_x_and_y_in_filepath(block) block.sentence_between_lines_x_and_y_in_filepath << ":#{block.line_number_of_first_duplicate_line}:" end |