Class: MatrixFormatter::Formatters::TextFormatter

Inherits:
BaseFormatter
  • Object
show all
Defined in:
lib/matrix_formatter/formatters/text_formatter.rb

Instance Attribute Summary

Attributes inherited from BaseFormatter

#matrix

Instance Method Summary collapse

Methods inherited from BaseFormatter

#dump_summary, #example_failed, #example_group_started, #example_passed, #example_pending, #example_started, #initialize, #start

Constructor Details

This class inherits a constructor from MatrixFormatter::Formatters::BaseFormatter

Instance Method Details

#start_dumpObject



4
5
6
# File 'lib/matrix_formatter/formatters/text_formatter.rb', line 4

def start_dump
  @output.puts @matrix.to_json
end