class YARD::Docstring

def replace(content, parse = true)

Parameters:
  • content (String) -- the raw comments to be parsed
def replace(content, parse = true)
  content = content.join("\n") if content.is_a?(Array)
  @tags = []
  @ref_tags = []
  if parse
    super(parse_comments(content))
  else
    @all = content
    @unresolved_reference = nil
    super(content)
  end
end