rubyx/test/support/preloader.rb
Torsten Rüger d1f8733623 Rename Vool to Sol
Simple is really the descriptive name for the layer
Sure, it is "virtual" but that is not as important as the fact that it is simple (or simplified)
Also objct (based really) is better, since orientated implies it is a little like that, but only orientated, not really it. Sol only has objects, nothing else
Just cause i was renaming anyway
2019-10-04 00:38:47 +03:00

15 lines
330 B
Ruby

module Preloader
def get_preload(preload)
return "" unless preload
if( preload == "all" )
loading = Sol::Builtin.builtin.keys
else
loading = preload.split(";")
end
loading.collect { |loads| Sol::Builtin.load_builtin(loads)}.join(";") + ";"
end
def preload
get_preload(@preload)
end
end