Top Level Namespace

Defined Under Namespace

Modules: Log, SYMBOLS

Constant Summary collapse

MAIN_SYMBOLS =

These symbols are only available on unix

{
    :info => 'ℹ',
    :success => '✔',
    :warning => '⚠',
    :error => '✖'
}
FALLBACK_SYMBOLS =

These sumbols are only used in case of windows since windows doesn’t support the MAIN_SYMBOLS

{
    :info => '¡',
    :success => 'v',
    :warning => '!!',
    :error => '×'
}

Instance Method Summary collapse

Instance Method Details

#main_supportedObject



21
22
23
24
25
26
27
# File 'lib/symbols.rb', line 21

def main_supported
    if (/cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM) == nil
        return true
    else
        return false
    end
end