Class: Environment

Inherits:
Object show all
Defined in:
lib/xiki/environment.rb

Class Method Summary collapse

Class Method Details

.linux?Boolean

Returns:

  • (Boolean)


2
3
4
# File 'lib/xiki/environment.rb', line 2

def self.linux?
  $el.elvar.system_type.to_s[/linux/]
end