Module: Isna::Colors

Included in:
String
Defined in:
lib/isna/colors.rb

Instance Method Summary collapse

Instance Method Details

#blackObject



5
6
7
# File 'lib/isna/colors.rb', line 5

def black
  change_color 30
end

#blueObject



21
22
23
# File 'lib/isna/colors.rb', line 21

def blue
  change_color 34
end

#cyanObject



29
30
31
# File 'lib/isna/colors.rb', line 29

def cyan
  change_color 36
end

#greenObject



13
14
15
# File 'lib/isna/colors.rb', line 13

def green
  change_color 32
end

#pinkObject



25
26
27
# File 'lib/isna/colors.rb', line 25

def pink
  change_color 35
end

#redObject



9
10
11
# File 'lib/isna/colors.rb', line 9

def red
  change_color 31
end

#yellowObject



17
18
19
# File 'lib/isna/colors.rb', line 17

def yellow
  change_color 33
end