Sha256: 9e2db1460b42366bea7678a24d689a88b3e7512c007c4068b2b27d3f86013e9a

Contents?: true

Size: 265 Bytes

Versions: 2

Compression:

Stored size: 265 Bytes

Contents

# dependencies
require "ffi"

# modules
require "ngt/index"
require "ngt/version"

module Ngt
  class Error < StandardError; end

  class << self
    attr_accessor :ffi_lib
  end
  self.ffi_lib = ["ngt"]

  # friendlier error message
  autoload :FFI, "ngt/ffi"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ngt-0.1.1 lib/ngt.rb
ngt-0.1.0 lib/ngt.rb