Sha256: e4c1565c01854d4defcda881a8c35005df2f839923fd0795da98bafb14d55473
Contents?: true
Size: 564 Bytes
Versions: 2
Compression:
Stored size: 564 Bytes
Contents
# typed: strict require 'dvla/atlas/artefacts' require 'dvla/atlas/holder' require 'dvla/atlas/test_artefactory' require 'sorbet-runtime' module DVLA module Atlas extend T::Sig sig { returns(DVLA::Atlas::TestArtefactory) } def self.base_world TestArtefactory.new end sig { params(artefacts: DVLA::Atlas::Artefacts).void } def self.make_artefacts_global(artefacts) DVLA::Atlas::Holder.instance.artefacts = artefacts Object.send(:define_method, :artefacts) { DVLA::Atlas::Holder.instance.artefacts } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dvla-atlas-1.1.0 | lib/dvla/atlas.rb |
dvla-atlas-1.0.0 | lib/dvla/atlas.rb |