# File lib/cgikit/package.rb, line 162 def exec_hook( path, pre, post, &block ) pre = File.join(path, pre) post = File.join(path, post) if FileTest.exist?(pre) then require(pre) end block.call if block_given? if FileTest.exist?(post) then require(post) end end