Class: AnnotateRb::ModelAnnotator::Annotator
- Inherits:
-
Object
- Object
- AnnotateRb::ModelAnnotator::Annotator
- Defined in:
- lib/annotate_rb/model_annotator/annotator.rb
Class Method Summary collapse
Instance Method Summary collapse
- #do_annotations ⇒ Object
-
#initialize(options) ⇒ Annotator
constructor
A new instance of Annotator.
- #remove_annotations ⇒ Object
Constructor Details
#initialize(options) ⇒ Annotator
Returns a new instance of Annotator.
16 17 18 |
# File 'lib/annotate_rb/model_annotator/annotator.rb', line 16 def initialize() @options = end |
Class Method Details
.do_annotations(options) ⇒ Object
7 8 9 |
# File 'lib/annotate_rb/model_annotator/annotator.rb', line 7 def do_annotations() new().do_annotations end |
.remove_annotations(options) ⇒ Object
11 12 13 |
# File 'lib/annotate_rb/model_annotator/annotator.rb', line 11 def remove_annotations() new().remove_annotations end |
Instance Method Details
#do_annotations ⇒ Object
20 21 22 |
# File 'lib/annotate_rb/model_annotator/annotator.rb', line 20 def do_annotations ProjectAnnotator.new(@options).annotate end |
#remove_annotations ⇒ Object
24 25 26 |
# File 'lib/annotate_rb/model_annotator/annotator.rb', line 24 def remove_annotations ProjectAnnotationRemover.new(@options).remove_annotations end |