Sha256: 4246b5578ab93777cddaa246b2fb452a0319f6fcfb3a37492c580dc2f2473c17
Contents?: true
Size: 566 Bytes
Versions: 5
Compression:
Stored size: 566 Bytes
Contents
# frozen_string_literal: true module AnnotateRb module ModelAnnotator # A plain old Ruby object (PORO) that contains all necessary information for SingleFileAnnotator class SingleFileAnnotatorInstruction def initialize(file, annotation, position, options = {}) @file = file # Path to file @annotation = annotation # Annotation string @position = position # Position in the file where to write the annotation to @options = options end attr_reader :file, :annotation, :position, :options end end end
Version data entries
5 entries across 5 versions & 1 rubygems