Class: AnnotateRb::ModelAnnotator::SingleFileRemoveAnnotationInstruction

Inherits:
Object
  • Object
show all
Defined in:
lib/annotate_rb/model_annotator/single_file_remove_annotation_instruction.rb

Overview

A plain old Ruby object (PORO) that contains all necessary information for SingleFileAnnotationRemover

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(file, options) ⇒ SingleFileRemoveAnnotationInstruction

Returns a new instance of SingleFileRemoveAnnotationInstruction.



7
8
9
10
# File 'lib/annotate_rb/model_annotator/single_file_remove_annotation_instruction.rb', line 7

def initialize(file, options)
  @file = file # Path to file
  @options = options
end

Instance Attribute Details

#fileObject (readonly)

Returns the value of attribute file.



12
13
14
# File 'lib/annotate_rb/model_annotator/single_file_remove_annotation_instruction.rb', line 12

def file
  @file
end

#optionsObject (readonly)

Returns the value of attribute options.



12
13
14
# File 'lib/annotate_rb/model_annotator/single_file_remove_annotation_instruction.rb', line 12

def options
  @options
end