Method: Console::Terminal::Text#style

Defined in:
lib/console/terminal/text.rb

#style(foreground, background = nil, *attributes) ⇒ Object

Generate a style string for the given foreground, background, and attributes.



59
60
# File 'lib/console/terminal/text.rb', line 59

def style(foreground, background = nil, *attributes)
end