Sha256: 9c4fd2cb8de7c5d5eb66919500be6cb836dcc2d7b7f7e7c9b09544c75c15af62

Contents?: true

Size: 258 Bytes

Versions: 7

Compression:

Stored size: 258 Bytes

Contents

# stdlib
require "fiddle/import"

# modules
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

7 entries across 7 versions & 1 rubygems

Version Path
scs-0.3.2 lib/scs.rb
scs-0.3.1 lib/scs.rb
scs-0.3.0 lib/scs.rb
scs-0.2.3 lib/scs.rb
scs-0.2.2 lib/scs.rb
scs-0.2.1 lib/scs.rb
scs-0.2.0 lib/scs.rb