Sha256: e006631f045191aaeda0700d76b74d55b1bb23fdc39aac227d5d837fdba45bb8

Contents?: true

Size: 264 Bytes

Versions: 91

Compression:

Stored size: 264 Bytes

Contents

module Frank module Cucumber

module ColorHelper
  def colorize(text, color_code)
    "\e[#{color_code}m#{text}\e[0m"
  end

  def red(text); colorize(text, 31); end
  def green(text); colorize(text, 32); end
  def blue(text); colorize(text, 34); end
end

end end

Version data entries

91 entries across 91 versions & 4 rubygems

Version Path
sc-frank-ios-1.2.3 lib/frank-cucumber/color_helper.rb
frank-cucumber-1.2.5 lib/frank-cucumber/color_helper.rb
frank-cucumber-1.2.4.pre1 lib/frank-cucumber/color_helper.rb
frank-pivotal-1.3.0.pre.2 lib/frank-pivotal/color_helper.rb
sc-frank-cucumber-1.2.1.bba52d7.debug lib/frank-cucumber/color_helper.rb
sc-frank-cucumber-1.2.1.e1e3ccb.debug lib/frank-cucumber/color_helper.rb
sc-frank-cucumber-1.2.1.1a856ca.debug lib/frank-cucumber/color_helper.rb
frank-pivotal-1.3.0.pre.1 lib/frank-pivotal/color_helper.rb
frank-pivotal-1.2.4 lib/frank-pivotal/color_helper.rb
frank-pivotal-1.2.3.pre.2 lib/frank-pivotal/color_helper.rb
frank-pivotal-1.2.3.pre.1 lib/frank-pivotal/color_helper.rb
frank-pivotal-1.2.3 lib/frank-pivotal/color_helper.rb
sc-frank-cucumber-1.2.1.b7791c5.debug lib/frank-cucumber/color_helper.rb
frank-cucumber-1.2.3 lib/frank-cucumber/color_helper.rb
sc-frank-cucumber-1.2.1.3256dc1.debug lib/frank-cucumber/color_helper.rb
sc-frank-cucumber-1.2.1.9c95c03.debug lib/frank-cucumber/color_helper.rb
sc-frank-cucumber-1.2.1.1dcc760.debug lib/frank-cucumber/color_helper.rb
frank-cucumber-1.2.2 lib/frank-cucumber/color_helper.rb
sc-frank-cucumber-1.2.1.1dcc760 lib/frank-cucumber/color_helper.rb
frank-cucumber-1.2.1 lib/frank-cucumber/color_helper.rb