Sha256: 8d53384ca937e7436db445f8fab14c0c6ff2fee04b7559318225eaca3824d4fd
Contents?: true
Size: 835 Bytes
Versions: 17
Compression:
Stored size: 835 Bytes
Contents
module Term module ANSIColor class Attribute class Text Attribute.set :clear, 0 # String#clear is already used to empty string in Ruby 1.9 Attribute.set :reset, 0 # synonym for :clear Attribute.set :bold, 1 Attribute.set :dark, 2 Attribute.set :faint, 2 Attribute.set :italic, 3 # not widely implemented Attribute.set :underline, 4 Attribute.set :underscore, 4 # synonym for :underline Attribute.set :blink, 5 Attribute.set :rapid_blink, 6 # not widely implemented Attribute.set :negative, 7 # no reverse because of String#reverse Attribute.set :concealed, 8 Attribute.set :strikethrough, 9 # not widely implemented end end end end
Version data entries
17 entries across 15 versions & 4 rubygems