Sha256: a4f5522d8b3c0c70807134d5a36868189cb7cdac3be2481dc032f29d0b2e83ba
Contents?: true
Size: 562 Bytes
Versions: 1
Compression:
Stored size: 562 Bytes
Contents
module VER module Platform module_function def x11? windowingsystem == :x11 end def win32? windowingsystem == :win32 end def aqua? windowingsystem == :aqua end def windowingsystem @windowingsystem ||= Tk::TkCmd.windowingsystem end def bsd? FFI::Platform.bsd? end def windows? FFI::Platform.windows? end def mac? FFI::Platform.mac? end def unix? FFI::Platform.unix? end def operatingsystem FFI::Platform::OS end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ver-2010.08 | lib/ver/platform.rb |