Torsten Rüger
d1f8733623
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
15 lines
330 B
Ruby
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
|