# File lib/cgikit/package.rb, line 114 def load_components comp = load_path(@component_path, '**', '*.rb') Dir.glob(comp) do |path| next unless /\A[A-Z]/ === File.basename(path) name = File.basename(path, '.*') if autoload_component_load_type? then mod = package_module() mod.autoload(name, path) elsif require_component_load_type? then require(path) end end end