class RDoc::Generator::Darkfish

def install_rdoc_static_file source, destination, options # :nodoc:

:nodoc:
def install_rdoc_static_file source, destination, options # :nodoc:
  return unless source.exist?
  begin
    FileUtils.mkdir_p File.dirname(destination), options
    begin
      FileUtils.ln source, destination, options
    rescue Errno::EEXIST
      FileUtils.rm destination
      retry
    end
  rescue
    FileUtils.cp source, destination, options
  end
end