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.1 lib/calabash-android/color_helper.rb
calabash-android-0.2.0 lib/calabash-android/color_helper.rb
calabash-android-0.2.0.pre10 lib/calabash-android/color_helper.rb
calabash-android-0.2.0.pre9 lib/calabash-android/color_helper.rb
calabash-android-0.2.0.pre8 lib/calabash-android/color_helper.rb
calabash-android-0.2.0.pre7 lib/calabash-android/color_helper.rb
calabash-android-0.2.0.pre6 lib/calabash-android/color_helper.rb
calabash-android-0.2.0.pre5 lib/calabash-android/color_helper.rb
calabash-android-0.2.0.pre4 lib/calabash-android/color_helper.rb
calabash-android-0.2.0.pre3 lib/calabash-android/color_helper.rb
calabash-android-0.2.0.pre2 lib/calabash-android/color_helper.rb
calabash-android-0.1.0 lib/calabash-android/color_helper.rb
calabash-android-0.0.19 lib/calabash-android/color_helper.rb
calabash-android-0.0.18 lib/calabash-android/color_helper.rb
calabash-android-0.0.17 lib/calabash-android/color_helper.rb
calabash-android-0.0.16 lib/calabash-android/color_helper.rb
calabash-android-0.0.15 lib/calabash-android/color_helper.rb
calabash-android-0.0.14 lib/calabash-android/color_helper.rb
calabash-android-0.0.13 lib/calabash-android/color_helper.rb
calabash-android-0.0.12 lib/calabash-android/color_helper.rb