Sha256: 7fdf377eda15d654fdcd59a88f312386de45a386f53c3f8ebf8fca1df16fe308

Contents?: true

Size: 255 Bytes

Versions: 1

Compression:

Stored size: 255 Bytes

Contents

# stdlib
require "fiddle/import"

# modules
require "osqp/solver"
require "osqp/version"

module OSQP
  class Error < StandardError; end

  def self.lib_version
    FFI.osqp_version.to_s
  end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
osqp-0.1.1 lib/osqp.rb