method
extract_annotations_from
v2.2.1 -
Show latest stable
- Class:
SourceAnnotationExtractor
extract_annotations_from(file, pattern)public
If file is the filename of a file that contains annotations this method returns a hash with a single entry that maps file to an array of its annotations. Otherwise it returns an empty hash.