class Flor::CoreLoader

Public Instance Methods

require(conf) click to toggle source

Called to interpret require: confs from hooks and friends

# File lib/flor/unit/loader.rb, line 12
def require(conf)

  re = conf['require']

  return unless re

  ::Kernel.require(
    if path = conf['_path']
      File.join(File.dirname(path), re)
    else
      re
    end)
end
shutdown() click to toggle source
# File lib/flor/unit/loader.rb, line 7
def shutdown
end