Methods
- D
- E
- R
- T
Class Public methods
directories()
Link
extensions()
Link
register_extensions(*exts, &block)
Link
Registers new Annotations File Extensions
SourceAnnotationExtractor::Annotation.register_extensions("css", "scss", "sass", "less", "js") { |tag| /\/\/\s*(#{tag}):?\s*(.*)$/ }
Instance Public methods
to_s(options={})
Link
Returns a representation of the annotation that looks like this:
[126] [TODO] This algorithm is simple and clearly correct, make it faster.
If options
has a flag :tag
the tag is shown as in
the example above. Otherwise the string contains just line and text.