module FFI::Compiler::Loader
Public Class Methods
caller_path(line = caller[0])
click to toggle source
# File lib/ffi-compiler/loader.rb, line 28 def self.caller_path(line = caller[0]) if FFI::Platform::OS == 'windows' drive = line[0..1] path = line[2..-1].split(/:/)[0] full_path = drive + path else full_path = line.split(/:/)[0] end File.dirname full_path end
find(*args)
click to toggle source
# File lib/ffi-compiler/fake_ffi/ffi-compiler/loader.rb, line 4 def self.find(*args) end