Sha256: 0c27a87618d853e961764b7acac62d129ae22921d57b30e08232d441c4ace049

Contents?: true

Size: 375 Bytes

Versions: 2

Compression:

Stored size: 375 Bytes

Contents

# frozen_string_literal: true

require 'table_beet/formatters/base_formatter.rb'

module TableBeet
  module Formatters
    class OnelineFormatter < BaseFormatter
      def flush
        @scopes.each do |name, steps|
          steps.each do |step|
            puts "[@#{name}] #{step.name} at:#{step.file}:#{step.lineno}"
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
table_beet2-0.0.5 lib/table_beet/formatters/oneline_formatter.rb
table_beet2-0.0.4 lib/table_beet/formatters/oneline_formatter.rb