D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
RDoc
/
RubyParser
/
Filename :
read_directive-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Directives are modifier comments that can appear after class, module, or method names. For example - !ruby/struct:SM::Flow::VERB body: " def fred # :yields: a, b\n" - !ruby/struct:SM::Flow::P body: or - !ruby/struct:SM::Flow::VERB body: " class SM # :nodoc:\n" - !ruby/struct:SM::Flow::P body: we return the directive name and any parameters as a two element array full_name: RDoc::RubyParser#read_directive is_singleton: false name: read_directive params: (allowed) visibility: private