File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -87,31 +87,6 @@ def self.binary?(file)
8787 not s . valid_encoding?
8888 end
8989
90- ##
91- # Processes common directives for CodeObjects for the C and Ruby parsers.
92- #
93- # Applies +directive+'s +value+ to +code_object+, if appropriate
94-
95- def self . process_directive code_object , directive , value
96- warn "RDoc::Parser::process_directive is deprecated and wil be removed in RDoc 4. Use RDoc::Markup::PreProcess#handle_directive instead" if $-w
97-
98- case directive
99- when 'nodoc' then
100- code_object . document_self = nil # notify nodoc
101- code_object . document_children = value . downcase != 'all'
102- when 'doc' then
103- code_object . document_self = true
104- code_object . force_documentation = true
105- when 'yield' , 'yields' then
106- # remove parameter &block
107- code_object . params . sub! ( /,?\s *&\w +/ , '' ) if code_object . params
108-
109- code_object . block_params = value
110- when 'arg' , 'args' then
111- code_object . params = value
112- end
113- end
114-
11590 ##
11691 # Checks if +file+ is a zip file in disguise. Signatures from
11792 # http://www.garykessler.net/library/file_sigs.html
You can’t perform that action at this time.
0 commit comments