method

install_rdoc_static_file

Importance_0
v2_2_9 - Show latest stable - 0 notes - Class: Darkfish
install_rdoc_static_file(source, destination, options) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rdoc/generator/darkfish.rb, line 556
  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
Register or log in to add new notes.