Method: Rails::SourceAnnotationExtractor::ParserExtractor::Parser#on_comment
- Defined in:
- railties/lib/rails/source_annotation_extractor.rb
#on_comment(value) ⇒ Object
28 29 30 |
# File 'railties/lib/rails/source_annotation_extractor.rb', line 28 def on_comment(value) @comments << Annotation.new(lineno, $1, $2) if value =~ pattern end |