A convenience class for writing scripts that load multiple code files used for a given setup. It expands filenames and measures and optionally posts loading times.
First code examples:
loads file(s) with the given filename or path
| filename |
relative or absolute pathname |
| dir |
optional dir where to look for relative paths |
| server |
the server to be optionally synced after loading |
| preText |
text to post before loading the file(s) |
| postText |
text to post after loading the file(s) |
flag whether to post loading time or not
begin measuring loading time
| comment |
an optional comment to post when starting |
declare loading finished and optionally post loading time
| comment |
with an optional comment |
the total time between start and end
time at which loading started
None, LoadMe is a singleton which has no meaningful instances.