Class | Anise::Annotations::Store |
In: |
lib/anise/annotations/store.rb
|
Parent: | Object |
The {Annotations::Store} class tracks annotations on a per-class bases.
Lookup an annotation. Unlike `self[ref]` this provides a complete annotation heritage, pulling annotations of the same reference name from ancestor classes and modules.
Unlike the other annotation methods, this method takes the `ref` argument before the `ns` argument. This is it allow `ns` to default to the common annotator `ann`.
@param ref [Object] Annotation reference key.
@param ns [Symbol] Annotation namespace.