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.2.21 lib/calabash-android/color_helper.rb
calabash-android-0.2.20 lib/calabash-android/color_helper.rb
calabash-android-0.2.19 lib/calabash-android/color_helper.rb
calabash-android-0.2.18 lib/calabash-android/color_helper.rb
calabash-android-0.2.17 lib/calabash-android/color_helper.rb
calabash-android-0.2.16 lib/calabash-android/color_helper.rb
calabash-android-0.2.15 lib/calabash-android/color_helper.rb
calabash-android-0.2.14 lib/calabash-android/color_helper.rb
calabash-android-0.2.13 lib/calabash-android/color_helper.rb
calabash-android-0.2.12 lib/calabash-android/color_helper.rb
calabash-android-0.2.11 lib/calabash-android/color_helper.rb
calabash-android-0.2.10 lib/calabash-android/color_helper.rb
calabash-android-0.2.9 lib/calabash-android/color_helper.rb
calabash-android-0.2.8 lib/calabash-android/color_helper.rb
calabash-android-0.2.7 lib/calabash-android/color_helper.rb
calabash-android-0.2.6 lib/calabash-android/color_helper.rb
calabash-android-0.2.5 lib/calabash-android/color_helper.rb
calabash-android-0.2.4 lib/calabash-android/color_helper.rb
calabash-android-0.2.3 lib/calabash-android/color_helper.rb
calabash-android-0.2.2 lib/calabash-android/color_helper.rb