Class: Polytrix::Reporters::YAMLReporter

Inherits:
HashReporter show all
Defined in:
lib/polytrix/reporters/yaml_reporter.rb

Instance Method Summary collapse

Methods inherited from HashReporter

#colors?, #initialize, #print_table

Constructor Details

This class inherits a constructor from Polytrix::Reporters::HashReporter

Instance Method Details

#convert(data) ⇒ Object



7
8
9
# File 'lib/polytrix/reporters/yaml_reporter.rb', line 7

def convert(data)
  YAML.dump data
end