module Rainbow::Ext::String::InstanceMethods
Public Instance Methods
background(*color)
click to toggle source
# File lib/rainbow/ext/string.rb, line 15 def background(*color) Rainbow(self).background(*color) end
blink()
click to toggle source
# File lib/rainbow/ext/string.rb, line 39 def blink Rainbow(self).blink end
bright()
click to toggle source
# File lib/rainbow/ext/string.rb, line 23 def bright Rainbow(self).bright end
cross_out()
click to toggle source
# File lib/rainbow/ext/string.rb, line 51 def cross_out Rainbow(self).cross_out end
Also aliased as: strike
faint()
click to toggle source
# File lib/rainbow/ext/string.rb, line 27 def faint Rainbow(self).faint end
foreground(*color)
click to toggle source
# File lib/rainbow/ext/string.rb, line 8 def foreground(*color) Rainbow(self).foreground(*color) end
hide()
click to toggle source
# File lib/rainbow/ext/string.rb, line 47 def hide Rainbow(self).hide end
inverse()
click to toggle source
# File lib/rainbow/ext/string.rb, line 43 def inverse Rainbow(self).inverse end
italic()
click to toggle source
# File lib/rainbow/ext/string.rb, line 31 def italic Rainbow(self).italic end
reset()
click to toggle source
# File lib/rainbow/ext/string.rb, line 19 def reset Rainbow(self).reset end
underline()
click to toggle source
# File lib/rainbow/ext/string.rb, line 35 def underline Rainbow(self).underline end