This method is deprecated or moved on the latest stable version.
The last existing version (v2_2_9) is shown here.
look_for_directives_in(context, comment)
public
Look for directives in a normal comment block:
/*
* :title: My Awesome Project
*/
This method modifies the comment
# File lib/rdoc/parser/c.rb, line 1098
def look_for_directives_in context, comment
@preprocess.handle comment, context do |directive, param|
case directive
when 'main' then
@options.main_page = param
''
when 'title' then
@options.default_title = param if @options.respond_to? :default_title=
''
end
end
comment
end