class Solargraph::Parser::CommentRipper

def on_embdoc_end *args

def on_embdoc_end *args
  result = super
  chomped = result[1].chomp
  @comments[result[2][0]] = Snippet.new(Range.from_to(result[2][0], result[2][1], result[2][0], result[2][1] + chomped.length), chomped)
  result
end