Method deprecated or moved
This method is deprecated or moved on the latest stable version. The last existing version (v2_2_9) is shown here.
copy_static()public
Copies static files from the static_path into the output directory
# File lib/rdoc/generator/darkfish.rb, line 264
def copy_static
return if @options.static_path.empty?
fu_options = { :verbose => $DEBUG_RDOC, :noop => @dry_run }
@options.static_path.each do |path|
unless File.directory? path then
FileUtils.install path, @outputdir, fu_options.merge(:mode => 0644)
next
end
Dir.chdir path do
Dir[File.join('**', '*')].each do |entry|
dest_file = @outputdir + entry
if File.directory? entry then
FileUtils.mkdir_p entry, fu_options
else
FileUtils.install entry, dest_file, fu_options.merge(:mode => 0644)
end
end
end
end
end Related methods
- Instance methods
- assemble_template
- class_dir
- copy_static
- debug_msg
- file_dir
- gen_sub_directories
- generate
- generate_class
- generate_class_files
- generate_file_files
- generate_index
- generate_page
- generate_servlet_not_found
- generate_servlet_root
- generate_table_of_contents
- get_sorted_module_list
- get_svninfo
- install_rdoc_static_file
- render
- render_template
- setup
- template_for
- template_result
- time_delta_string
- write_style_sheet
- Class methods
- new