Sha256: 366a4e4afb7dadae036b2250d7824abb572e6e070bac1b9aa10d9643e9acea92

Contents?: true

Size: 206 Bytes

Versions: 4

Compression:

Stored size: 206 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

4 entries across 4 versions & 1 rubygems

Version Path
discorb-0.16.0 lib/discorb/utils/colored_puts.rb
discorb-0.15.1 lib/discorb/utils/colored_puts.rb
discorb-0.15.0 lib/discorb/utils/colored_puts.rb
discorb-0.14.0 lib/discorb/utils/colored_puts.rb