class CommentVisitor

Attributes

Public Class Methods

# File tools/rdoc-to-md, line 106
def initialize
  # starting line => full block comment
  @new_comments = {}
  @old_comment_lines = Set.new
end

Public Instance Methods

# File tools/rdoc-to-md, line 112
def method_missing(_, node)
  comments = node.location.comments
  process(comments) if process?(comments)

  visit_child_nodes(node)
end