class Chartspec::Printer

Public Class Methods

new(output) click to toggle source
# File lib/chartspec/printer.rb, line 7
def initialize(output)
  @output = output
  @assets_path = File.expand_path("../../../vendor/assets", __FILE__)
end

Public Instance Methods

flush() click to toggle source
# File lib/chartspec/printer.rb, line 18
def flush
  @output.flush
end
print_chart_script(file, chart, data = {}) click to toggle source
print_example_failed(example_id, filepath, description, run_time, error, backtrace, turnip = nil, video_path = nil) click to toggle source
print_example_passed(description, run_time, turnip = nil, video_path = nil) click to toggle source
print_example_pending(description, pending_message, turnip = nil) click to toggle source
print_group_end() click to toggle source
print_group_start(group_id, chart, title, parents_count) click to toggle source
print_html_end() click to toggle source
print_html_start() click to toggle source