Sha256: 1a1d156e4eb0b8a86f0de43200609c02a965961a95819e43ea2898107899b41a
Contents?: true
Size: 405 Bytes
Versions: 2
Compression:
Stored size: 405 Bytes
Contents
# frozen_string_literal: true require 'ffi' require_relative 'alamojoe/version' module Alamojoe extend FFI::Library # set environment variables ENV['EXSEC_RUNTIME_LANGUAGE'] = 'RUBY' ENV['EXSEC_RUNTIME_LANGUAGE_VERSION'] = RUBY_VERSION ENV['EXSEC_APP_DIR'] = Dir.pwd ffi_lib (__dir__ + '/libcore.so') attach_function :configure, [:string], :int class Error < StandardError end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
alamojoe-0.2.5 | lib/alamojoe.rb |
alamojoe-0.2.4 | lib/alamojoe.rb |