module Rainbow::Ext::String::InstanceMethods

Public Instance Methods

background(*color) click to toggle source
# File lib/rainbow/ext/string.rb, line 14
def background(*color)
  Rainbow(self).background(*color)
end
bright() click to toggle source
# File lib/rainbow/ext/string.rb, line 22
def bright
  Rainbow(self).bright
end
color(*color)
Alias for: foreground
colour(*color)
Alias for: foreground
faint() click to toggle source
# File lib/rainbow/ext/string.rb, line 26
def faint
  Rainbow(self).faint
end
foreground(*color) click to toggle source
# File lib/rainbow/ext/string.rb, line 7
def foreground(*color)
  Rainbow(self).foreground(*color)
end
Also aliased as: color, colour
hide() click to toggle source
# File lib/rainbow/ext/string.rb, line 46
def hide
  Rainbow(self).hide
end
inverse() click to toggle source
# File lib/rainbow/ext/string.rb, line 42
def inverse
  Rainbow(self).inverse
end
italic() click to toggle source
# File lib/rainbow/ext/string.rb, line 30
def italic
  Rainbow(self).italic
end
reset() click to toggle source
# File lib/rainbow/ext/string.rb, line 18
def reset
  Rainbow(self).reset
end
underline() click to toggle source
# File lib/rainbow/ext/string.rb, line 34
def underline
  Rainbow(self).underline
end