Sha256: 1d88eb567ec49c1b829077b68ef890cb0a882733a7978031dbe9bbde63f5a6b4

Contents?: true

Size: 274 Bytes

Versions: 12

Compression:

Stored size: 274 Bytes

Contents

# -*- coding: utf-8 -*-

def write_color(str, console = STDOUT)
  console.write str
end

if RbConfig::CONFIG["host_os"] =~ /mswin(?!ce)|mingw|bccwin/i
  require_relative "extensions/windows"
  require_relative "extensions/windows_write_color" if $color_parser == "self"
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
narou-3.2.5.1 lib/color.rb
narou-3.2.5 lib/color.rb
narou-3.2.4 lib/color.rb
narou-3.2.3 lib/color.rb
narou-3.2.2 lib/color.rb
narou-3.2.1 lib/color.rb
narou-3.2.0.1 lib/color.rb
narou-3.2.0 lib/color.rb
narou-3.1.11 lib/color.rb
narou-3.1.10 lib/color.rb
narou-3.1.9 lib/color.rb
narou-3.1.8 lib/color.rb