Module: Pantheios::Services::Common::Console::Internal_
- Defined in:
- lib/pantheios/services/common/console.rb
Defined Under Namespace
Modules: ColourInitialiser
Constant Summary collapse
- STDERR_ISATTY_ =
$stderr.isatty
- OS_IS_UNIX_ =
%w{ darwin freebsd linux mingw32 solaris sunos }.any? { |os| RUBY_PLATFORM =~ /#{os.downcase}/ }
- SHOULD_COLOURIZE_ =
STDERR_ISATTY_ && OS_IS_UNIX_