Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/dvla/herodotus/string.rb

Instance Method Summary collapse

Instance Method Details

#bg_blackObject



18
# File 'lib/dvla/herodotus/string.rb', line 18

def bg_black = "\e[40m#{self}\e[0m"

#bg_blueObject



26
# File 'lib/dvla/herodotus/string.rb', line 26

def bg_blue = "\e[44m#{self}\e[0m"

#bg_brownObject



24
# File 'lib/dvla/herodotus/string.rb', line 24

def bg_brown = "\e[43m#{self}\e[0m"

#bg_cyanObject



30
# File 'lib/dvla/herodotus/string.rb', line 30

def bg_cyan = "\e[46m#{self}\e[0m"

#bg_grayObject



32
# File 'lib/dvla/herodotus/string.rb', line 32

def bg_gray = "\e[47m#{self}\e[0m"

#bg_greenObject



22
# File 'lib/dvla/herodotus/string.rb', line 22

def bg_green = "\e[42m#{self}\e[0m"

#bg_magentaObject



28
# File 'lib/dvla/herodotus/string.rb', line 28

def bg_magenta = "\e[45m#{self}\e[0m"

#bg_redObject



20
# File 'lib/dvla/herodotus/string.rb', line 20

def bg_red = "\e[41m#{self}\e[0m"

#blackObject



2
# File 'lib/dvla/herodotus/string.rb', line 2

def black = "\e[30m#{self}\e[0m"


40
# File 'lib/dvla/herodotus/string.rb', line 40

def blink = "\e[5m#{self}\e[25m"

#blueObject



10
# File 'lib/dvla/herodotus/string.rb', line 10

def blue = "\e[34m#{self}\e[0m"

#boldObject



34
# File 'lib/dvla/herodotus/string.rb', line 34

def bold = "\e[1m#{self}\e[22m"

#brownObject



8
# File 'lib/dvla/herodotus/string.rb', line 8

def brown = "\e[33m#{self}\e[0m"

#cyanObject



14
# File 'lib/dvla/herodotus/string.rb', line 14

def cyan = "\e[36m#{self}\e[0m"

#grayObject



16
# File 'lib/dvla/herodotus/string.rb', line 16

def gray = "\e[37m#{self}\e[0m"

#greenObject



6
# File 'lib/dvla/herodotus/string.rb', line 6

def green = "\e[32m#{self}\e[0m"

#italicObject



36
# File 'lib/dvla/herodotus/string.rb', line 36

def italic = "\e[3m#{self}\e[23m"

#magentaObject



12
# File 'lib/dvla/herodotus/string.rb', line 12

def magenta = "\e[35m#{self}\e[0m"

#redObject



4
# File 'lib/dvla/herodotus/string.rb', line 4

def red = "\e[31m#{self}\e[0m"

#reverse_colorObject



42
# File 'lib/dvla/herodotus/string.rb', line 42

def reverse_color = "\e[7m#{self}\e[27m"

#underlineObject



38
# File 'lib/dvla/herodotus/string.rb', line 38

def underline = "\e[4m#{self}\e[24m"