lib/alamojoe.rb in alamojoe-0.1.0 vs lib/alamojoe.rb in alamojoe-0.2.0
- old
+ new
@@ -1,16 +1,17 @@
# frozen_string_literal: true
require 'ffi'
-require_relative "alamojoe/version"
+require_relative 'alamojoe/version'
puts Dir.pwd
module Alamojoe
extend FFI::Library
- ffi_lib 'lib/libcore.so'
+
+ ffi_lib (__dir__ + '/libcore.so')
attach_function :configure, [:string], :int
- class Error < StandardError; end
- # Your code goes here...
+ class Error < StandardError
+ end
end