Module: Ethon::Libc Private

Extended by:
FFI::Library
Defined in:
lib/ethon/libc.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

FFI Wrapper module for Libc.

Class Method Summary collapse

Class Method Details

.windows?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

:nodoc:

Returns:

  • (Boolean)


12
13
14
# File 'lib/ethon/libc.rb', line 12

def self.windows?
  Gem.win_platform?
end