Method: AnnotateRb::ModelAnnotator::FileComponents#initialize
- Defined in:
- lib/annotate_rb/model_annotator/file_components.rb
#initialize(file_content, new_annotations, options) ⇒ FileComponents
Returns a new instance of FileComponents.
11 12 13 14 15 16 17 |
# File 'lib/annotate_rb/model_annotator/file_components.rb', line 11 def initialize(file_content, new_annotations, ) @file_content = file_content @diff = AnnotationDiffGenerator.new(file_content, new_annotations).generate = @annotation_pattern = AnnotationPatternGenerator.call() @new_annotations = new_annotations end |