Class: String

Inherits:
Object
  • Object
show all
Includes:
ANSIColor
Defined in:
lib/lijab/main.rb

Instance Method Summary collapse

Instance Method Details

#colored(*colors) ⇒ Object


26
27
28
29
30
# File 'lib/lijab/main.rb', line 26

def colored(*colors)
   s = self
   colors.each { |c| s = s.send(c) }
   s
end