Sha256: 6de58d49c64b15440620f2178ec3b4db39f6291b2f903daf5fea4516439a886c

Contents?: true

Size: 770 Bytes

Versions: 9

Compression:

Stored size: 770 Bytes

Contents

require 'turnip_formatter/printer'
require 'turnip_formatter/printer/scenario'
require 'turnip_formatter/printer/tab_feature_statistics'
require 'turnip_formatter/printer/tab_tag_statistics'
require 'turnip_formatter/printer/tab_speed_statistics'

module TurnipFormatter
  module Printer
    class Index
      class << self
        include TurnipFormatter::Printer

        def print_out(params)
          render_template(:index, {
              scenarios:        params[:scenarios],
              failed_count:     params[:failed_count],
              pending_count:    params[:pending_count],
              total_time:       params[:total_time],
              scenario_files:   params[:scenario_files]
            }
          )
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
turnip_formatter-0.6.0.pre.beta.2 lib/turnip_formatter/printer/index.rb
turnip_formatter-0.6.0.pre.beta.1 lib/turnip_formatter/printer/index.rb
turnip_formatter-0.5.0 lib/turnip_formatter/printer/index.rb
turnip_formatter-0.4.0 lib/turnip_formatter/printer/index.rb
turnip_formatter-0.3.4 lib/turnip_formatter/printer/index.rb
turnip_formatter-0.3.3 lib/turnip_formatter/printer/index.rb
turnip_formatter-0.3.2 lib/turnip_formatter/printer/index.rb
turnip_formatter-0.3.1 lib/turnip_formatter/printer/index.rb
turnip_formatter-0.3.0 lib/turnip_formatter/printer/index.rb