Sha256: f2952e1c35cf05dac818c17ea3a95f1be3a49371f3c9c36a0c78e951df637db3

Contents?: true

Size: 227 Bytes

Versions: 8

Compression:

Stored size: 227 Bytes

Contents

module PrettyMultitask
  class Color
    def self.green(str)
      "\e[32;1m#{str}\e[0m"
    end
    def self.yellow(str)
      "\e[33;1m#{str}\e[0m"
    end
    def self.red(str)
      "\e[31;1m#{str}\e[0m"
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pretty_multitask-0.1.7 lib/pretty_multitask/color.rb
pretty_multitask-0.1.6 lib/pretty_multitask/color.rb
pretty_multitask-0.1.5 lib/pretty_multitask/color.rb
pretty_multitask-0.1.4 lib/pretty_multitask/color.rb
pretty_multitask-0.1.3 lib/pretty_multitask/color.rb
pretty_multitask-0.1.2 lib/pretty_multitask/color.rb
pretty_multitask-0.1.1 lib/pretty_multitask/color.rb
pretty_multitask-0.1.0 lib/pretty_multitask/color.rb