Current Path : /usr/local/share/ri/1.8/system/RDoc/C_Parser/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/ri/1.8/system/RDoc/C_Parser/handle_constants-i.yaml |
--- !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