Sha256: 195ac3a167ee9d1bb22e11a13d8ce3e8c40d551d839e1360cd45bee238fdd73b

Contents?: true

Size: 223 Bytes

Versions: 1

Compression:

Stored size: 223 Bytes

Contents

# frozen_string_literal: true

# @private
def sputs(text)
  puts "\e[92m#{text}\e[m"
end

# @private
def eputs(text)
  puts "\e[91m#{text}\e[m"
end

# @private
def iputs(text)
  puts "\e[90m#{text}\e[m"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
discorb-0.20.0 lib/discorb/utils/colored_puts.rb