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
blink()
click to toggle source
# File lib/rainbow/ext/string.rb, line 40 def blink Rainbow(self).blink end
bright()
click to toggle source
# File lib/rainbow/ext/string.rb, line 24 def bright Rainbow(self).bright end
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
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
underline()
click to toggle source
# File lib/rainbow/ext/string.rb, line 36 def underline Rainbow(self).underline end