Sha256: 0d134c1bb6d95f4bbbb14170c119d147740883a0b2ceaca3c4d78549ee5650ea

Contents?: true

Size: 324 Bytes

Versions: 2

Compression:

Stored size: 324 Bytes

Contents

module LibZMQ
  
  SHARED_LIBRARY = File.expand_path('../../libzmq.so', __FILE__)

  # kinda horrible patch onto ffi-rzmq
  if defined?(::FFI)
    extend ::FFI::Library
    class << self
      alias :original_ffi_lib :ffi_lib

      def ffi_lib(*names)
        original_ffi_lib SHARED_LIBRARY
      end
    end
  end
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
libzmq-0.2.0 lib/libzmq.rb
libzmq-0.0.1 lib/libzmq.rb