module Lmkplz::External
Public Class Methods
debug_path()
click to toggle source
# File lib/lmkplz/metal.rb, line 19 def self.debug_path "ext/kkttyl/target/debug/libkkttyl.#{FFI::Platform::LIBSUFFIX}" end
path()
click to toggle source
# File lib/lmkplz/metal.rb, line 3 def self.path path = if defined?($USE_DEBUG_KKTTYL) && $USE_DEBUG_KKTTYL warn "🐝 Using debug build of kkttyl" debug_path else release_path end File.expand_path(path, File.join(__dir__, "../..")) end
release_path()
click to toggle source
# File lib/lmkplz/metal.rb, line 15 def self.release_path "ext/kkttyl/target/release/libkkttyl.#{FFI::Platform::LIBSUFFIX}" end