Skip to content

Commit 1abe628

Browse files
authored
Merge pull request #563 from aycabta/remove-remove_private_comment
Remove remove_private_comment
2 parents f9c8266 + 5a40835 commit 1abe628

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

lib/rdoc/parser/ruby.rb

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ def look_for_directives_in container, comment
587587
end
588588
end
589589

590-
remove_private_comments comment
590+
comment.remove_private
591591
end
592592

593593
##
@@ -2054,15 +2054,6 @@ def record_location container # :nodoc:
20542054
container.record_location @top_level
20552055
end
20562056

2057-
##
2058-
# Removes private comments from +comment+
2059-
#--
2060-
# TODO remove
2061-
2062-
def remove_private_comments comment
2063-
comment.remove_private
2064-
end
2065-
20662057
##
20672058
# Scans this Ruby file for Ruby constructs
20682059

0 commit comments

Comments
 (0)