method

has_colors?

ruby latest stable - Class: Curses

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_3_392) is shown here.

has_colors?()
public

Returns true or false depending on whether the terminal has color capbilities.