Sha256: e365a8a5ecc3adb4a772d2e35c5be2bb3073990ec697c65f83c725cb5336bded

Contents?: true

Size: 279 Bytes

Versions: 2

Compression:

Stored size: 279 Bytes

Contents

# stdlib
require "fiddle/import"

# modules
require "scs/matrix"
require "scs/solver"
require "scs/version"

module SCS
  class Error < StandardError; end

  def self.lib_version
    FFI::Direct.scs_version.to_s
  end

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
scs-0.4.1 lib/scs.rb
scs-0.4.0 lib/scs.rb