Sha256: 063c6f5ad299a258469e39ccf4c8ee8166efa5c99de0ca7305e5754c89963fd0
Contents?: true
Size: 605 Bytes
Versions: 3
Compression:
Stored size: 605 Bytes
Contents
# This is the master loader. It creates instances of each of the loaders # that the application will use. The application uses this class to load # template data; it does not use the various loaders directly. The logic # is to search the Ruby search path for iowa/loaders/* files, and to look # in the IOWA paths for /loaders/*. It will require anything that it # finds, in the order that they are found. Each loader will register itself # with the master loader. # module Iowa class Loader LOADERS = [] def self.add_loader(loader) LOADERS.push loader end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
IOWA-1.0.3 | src/iowa/Loader.rb |
IOWA-1.0.2 | src/iowa/Loader.rb |
IOWA-1.0.0 | src/iowa/Loader.rb |