lib/rdoc/comment.rb in rdoc-4.0.1 vs lib/rdoc/comment.rb in rdoc-4.1.0.preview.3
- old
+ new
@@ -116,12 +116,9 @@
elsif @text.sub!(/^\s*:?call-seq:(.*?)(^\s*$|\z)/m, '') then
seq = $1
seq.gsub!(/^\s*/, '')
method.call_seq = seq
end
- #elsif @text.sub!(/\A\/\*\s*call-seq:(.*?)\*\/\Z/, '') then
- # method.call_seq = $1.strip
- #end
method
end
##