From 5a40835774ac031164f02b7385d92f5f898239ec Mon Sep 17 00:00:00 2001 From: aycabta Date: Sun, 19 Nov 2017 23:46:38 +0900 Subject: [PATCH] Remove remove_private_comment --- lib/rdoc/parser/ruby.rb | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/lib/rdoc/parser/ruby.rb b/lib/rdoc/parser/ruby.rb index 3ec3315320..97c0511eda 100644 --- a/lib/rdoc/parser/ruby.rb +++ b/lib/rdoc/parser/ruby.rb @@ -587,7 +587,7 @@ def look_for_directives_in container, comment end end - remove_private_comments comment + comment.remove_private end ## @@ -2054,15 +2054,6 @@ def record_location container # :nodoc: container.record_location @top_level end - ## - # Removes private comments from +comment+ - #-- - # TODO remove - - def remove_private_comments comment - comment.remove_private - end - ## # Scans this Ruby file for Ruby constructs