class FFI::Compiler::Platform
Constants
- LIBSUFFIX
Public Class Methods
system()
click to toggle source
# File lib/ffi-compiler/platform.rb, line 5 def self.system @@system ||= Platform.new end
Public Instance Methods
arch()
click to toggle source
# File lib/ffi-compiler/platform.rb, line 13 def arch FFI::Platform::ARCH end
mac?()
click to toggle source
# File lib/ffi-compiler/platform.rb, line 25 def mac? FFI::Platform.mac? end
map_library_name(name)
click to toggle source
# File lib/ffi-compiler/platform.rb, line 9 def map_library_name(name) "#{FFI::Platform::LIBPREFIX}#{name}.#{LIBSUFFIX}" end
name()
click to toggle source
# File lib/ffi-compiler/platform.rb, line 21 def name FFI::Platform.name end
os()
click to toggle source
# File lib/ffi-compiler/platform.rb, line 17 def os FFI::Platform::OS end