class SyntaxTree::Index::FileComments::Parser
We use the ripper library to pull out source comments.
def initialize(*)
def initialize(*) super @comments = {} end
def on_comment(value)
def on_comment(value) comments[lineno] = value.chomp end
We use the ripper library to pull out source comments.
def initialize(*) super @comments = {} end
def on_comment(value) comments[lineno] = value.chomp end