Skip to content

Commit

Permalink
Merge pull request #563 from aycabta/remove-remove_private_comment
Browse files Browse the repository at this point in the history
Remove remove_private_comment
  • Loading branch information
hsbt authored Nov 20, 2017
2 parents f9c8266 + 5a40835 commit 1abe628
Showing 1 changed file with 1 addition and 10 deletions.
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

0 comments on commit 1abe628

Please sign in to comment.