Module: DVLA::Atlas

Extended by:
T::Sig
Defined in:
lib/dvla/atlas.rb,
lib/dvla/atlas/holder.rb,
lib/dvla/atlas/version.rb,
lib/dvla/atlas/artefacts.rb,
lib/dvla/atlas/test_artefactory.rb

Defined Under Namespace

Classes: Artefacts, Holder, TestArtefactory

Constant Summary collapse

VERSION =
'1.1.0'.freeze

Class Method Summary collapse

Class Method Details

.base_worldObject



13
14
15
# File 'lib/dvla/atlas.rb', line 13

def self.base_world
  TestArtefactory.new
end

.make_artefacts_global(artefacts) ⇒ Object



18
19
20
21
# File 'lib/dvla/atlas.rb', line 18

def self.make_artefacts_global(artefacts)
  DVLA::Atlas::Holder.instance.artefacts = artefacts
  Object.send(:define_method, :artefacts) { DVLA::Atlas::Holder.instance.artefacts }
end