Sha256: 0b84acd568eca9ece43165a1383bec37813585f2b11ad9b7193b996089630498
Contents?: true
Size: 419 Bytes
Versions: 2
Compression:
Stored size: 419 Bytes
Contents
# frozen_string_literal: true require 'rspec_table_formatter/version' # main class for formatter class RspecTableFormatter class Error < StandardError; end RSpec::Core::Formatters.register self, :dump_summary def initialize(output) @output = output end def dump_summary(notification) examples = notification.examples @output << TableBuilder.new(examples).generate_table.to_s + "\n" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rspec_table_formatter-0.1.7 | lib/rspec_table_formatter.rb |
rspec_table_formatter-0.1.6 | lib/rspec_table_formatter.rb |