Method: Thor::Shell::Terminal.unix?

Defined in:
lib/thor/shell/terminal.rb

.unix?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/thor/shell/terminal.rb', line 20

def unix?
  RUBY_PLATFORM =~ /(aix|darwin|linux|(net|free|open)bsd|cygwin|solaris)/i
end