D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
RDoc
/
C_Parser
/
Filename :
handle_constants-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Adds constant comments. By providing some_value: at the start ofthe comment you can override the C value of the comment to give a friendly definition." - !ruby/struct:SM::Flow::VERB body: " /* 300: The perfect score in bowling */\n rb_define_const(cFoo, "PERFECT", INT2FIX(300);\n" - !ruby/struct:SM::Flow::P body: Will override +INT2FIX(300)+ with the value +300+ in the output RDoc. Values may include quotes and escaped colons (\:). full_name: RDoc::C_Parser#handle_constants is_singleton: false name: handle_constants params: (type, var_name, const_name, definition) visibility: private