Sha256: 6a8459f5565dcee858ce5d346070c920d7b452fb7a275812fcd4a37594f7faa6

Contents?: true

Size: 490 Bytes

Versions: 6

Compression:

Stored size: 490 Bytes

Contents

require_relative "plurimath/version"
require "lutaml/model"
require "mml/configuration"

def mml_adapter(adapter)
  Mml::Configuration.adapter = adapter unless Mml::Configuration.adapter
end

# Select an XML engine
if RUBY_ENGINE == 'opal'
  require "plurimath/setup/oga"
  require "plurimath/setup/opal"
  mml_adapter(:oga)
elsif ENV['PLURIMATH_OGA']
  require "plurimath/setup/oga"
  mml_adapter(:oga)
else
  require "plurimath/setup/ox"
  mml_adapter(:ox)
end

require "plurimath/math"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
plurimath-0.8.23 lib/plurimath.rb
plurimath-0.8.22 lib/plurimath.rb
plurimath-0.8.21 lib/plurimath.rb
plurimath-0.8.20 lib/plurimath.rb
plurimath-0.8.19 lib/plurimath.rb
plurimath-0.8.18 lib/plurimath.rb