Module: CzSystemInfo::Filesystem::Functions
- Extended by:
- FFI::Library
- Included in:
- CzSystemInfo::Filesystem
- Defined in:
- lib/cz_system_info/filesystem/functions.rb
Overview
A scoped module for internal FFI functions to be used by the main code.
Class Method Summary collapse
Class Method Details
.solaris? ⇒ Boolean
23 24 25 |
# File 'lib/cz_system_info/filesystem/functions.rb', line 23 def self.solaris? RbConfig::CONFIG['host_os'] =~ /sunos|solaris/i end |