lib/atome/kernel/universe.rb in atome-0.5.3.4 vs lib/atome/kernel/universe.rb in atome-0.5.3.7.2

- old
+ new

@@ -1,17 +1,17 @@ # frozen_string_literal: true # universe method here class Universe @atomes = {} + @classes = {} @atome_list = [] @particle_list = {} @renderer_list = %i[html browser headless server] @options = {} @sanitizers = {} - class << self - attr_reader :atomes, :renderer_list, :atome_list, :particle_list + attr_reader :atomes, :renderer_list, :atome_list, :particle_list, :classes def add_to_particle_list(particle = nil, type) instance_variable_get('@particle_list')[particle]=type end