class Toys::Utils::Terminal
def write(str = "", *styles)
- 
        (self)-
Parameters:
- 
        styles(Symbol, String, Array) -- Styles to apply to the... 
- 
        str(String) -- The line to write
def write(str = "", *styles) @output_mutex.synchronize do begin output&.write(apply_styles(str, *styles)) output&.flush rescue ::IOError nil end end self end