Sha256: a59603c73e677e0d5f7d86fad389287b7500be68d2ec91baf8fe01d81dd3e636

Contents?: true

Size: 472 Bytes

Versions: 2

Compression:

Stored size: 472 Bytes

Contents

# encoding: utf-8
# features/support/color-comment-formatter.rb

require 'rubygems'
require 'cucumber/formatter/pretty'

module Cucumber
  module Formatter
    class ColorCommentFormatter < Cucumber::Formatter::Pretty
      def initialize(step_mother, io, options)
        super(step_mother, io, options)
      end
  
      def comment_line comment_line
        @io.puts(format_string(comment_line, :comment).indent(@indent))
        @io.flush
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yard-bench-0.0.3 features/support/color-comment-formatter.rb
yard-bench-0.0.2 features/support/color-comment-formatter.rb