module Roda::RodaPlugins::RenderCoverage

def self.configure(app, opts=OPTS)

strip.
template files, and the :strip_paths directory for paths to
Use the :dir option to set the directory to store the compiled
def self.configure(app, opts=OPTS)
  app.opts[:render_coverage_strip_paths] = opts[:strip_paths].map{|f| File.expand_path(f)} if opts.has_key?(:strip_paths)
  coverage_dir = app.opts[:render_coverage_dir] = opts[:dir] || app.opts[:render_coverage_dir] || 'coverage/views'
  Dir.mkdir(coverage_dir) unless File.directory?(coverage_dir)
end

def self.load_dependencies(app, opts=OPTS)

def self.load_dependencies(app, opts=OPTS)
  app.plugin :render
end