Sha256: 6387c1868ed8e2ed88a987e098a9cdb7f0757fb9e819b210a4de44f9051dc971

Contents?: true

Size: 266 Bytes

Versions: 250

Compression:

Stored size: 266 Bytes

Contents

module Calabash module Android

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

250 entries across 250 versions & 2 rubygems

Version Path
calabash-android-0.0.11 lib/calabash-android/color_helper.rb
calabash-android-0.0.10 lib/calabash-android/color_helper.rb
calabash-android-0.0.8 lib/calabash-android/color_helper.rb
calabash-android-0.0.7 lib/calabash-android/color_helper.rb
calabash-android-0.0.6 lib/calabash-android/color_helper.rb
calabash-android-0.0.5 lib/calabash-android/color_helper.rb
calabash-android-0.0.4 lib/calabash-android/color_helper.rb
calabash-android-0.0.3 lib/calabash-android/color_helper.rb
calabash-android-0.0.2 lib/calabash-android/color_helper.rb
calabash-android-0.0.1 lib/calabash-android/color_helper.rb