method

to_s

Importance_1
v6.1.3.1 - Show latest stable - 0 notes - Class: Annotation
to_s(options = {}) public

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.

Show source
Register or log in to add new notes.