method
on_comment
v7.1.3.2 -
Show latest stable
- Class:
Rails::SourceAnnotationExtractor::ParserExtractor::Parser
on_comment(value)public
No documentation available.
# File railties/lib/rails/source_annotation_extractor.rb, line 28
def on_comment(value)
@comments << Annotation.new(lineno, $1, $2) if value =~ pattern
end