Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove remove_private_comment #563

Merged
merged 1 commit into from
Nov 20, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions lib/rdoc/parser/ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ def look_for_directives_in container, comment
end
end

remove_private_comments comment
comment.remove_private
end

##
Expand Down Expand Up @@ -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

Expand Down