Module: Cuporter::Formatter::CsvTextMethods
- Included in:
- NameReport::Csv, TagReport::Csv
- Defined in:
- lib/cuporter/formatter/csv_text_methods.rb
Instance Method Summary collapse
Instance Method Details
#line(number, line) ⇒ Object
10 11 12 13 |
# File 'lib/cuporter/formatter/csv_text_methods.rb', line 10 def line(number, line) line.sub!(/^#{tab}/, "#{number}#{tab}") if number line end |
#tab ⇒ Object
6 7 8 |
# File 'lib/cuporter/formatter/csv_text_methods.rb', line 6 def tab "," end |