module Rainbow::Ext::String::InstanceMethods

Public Instance Methods

background(*color) click to toggle source
# File lib/rainbow/ext/string.rb, line 16
def background(*color)
  Rainbow(self).background(*color)
end
bright() click to toggle source
# File lib/rainbow/ext/string.rb, line 24
def bright
  Rainbow(self).bright
end
color(*color)
Alias for: foreground
colour(*color)
Alias for: foreground
cross_out() click to toggle source
# File lib/rainbow/ext/string.rb, line 52
def cross_out
  Rainbow(self).cross_out
end
Also aliased as: strike
faint() click to toggle source
# File lib/rainbow/ext/string.rb, line 28
def faint
  Rainbow(self).faint
end
foreground(*color) click to toggle source
# File lib/rainbow/ext/string.rb, line 9
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 48
def hide
  Rainbow(self).hide
end
inverse() click to toggle source
# File lib/rainbow/ext/string.rb, line 44
def inverse
  Rainbow(self).inverse
end
italic() click to toggle source
# File lib/rainbow/ext/string.rb, line 32
def italic
  Rainbow(self).italic
end
reset() click to toggle source
# File lib/rainbow/ext/string.rb, line 20
def reset
  Rainbow(self).reset
end
strike()
Alias for: cross_out
underline() click to toggle source
# File lib/rainbow/ext/string.rb, line 36
def underline
  Rainbow(self).underline
end