Class: Polytrix::Reports::YAMLReporter

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

Instance Method Summary collapse

Methods inherited from HashReporter

#initialize, #print_table

Constructor Details

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

Instance Method Details

#convert(data) ⇒ Object



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

def convert(data)
  YAML.dump data
end