Sha256: f04a6b35612b9d85e8f179c84f0a04c8645c3ae508e66ac8e82d6f93bad26e9a

Contents?: true

Size: 840 Bytes

Versions: 2

Compression:

Stored size: 840 Bytes

Contents

module AnnotateRb
  module ModelAnnotator
    module Constants
      ##
      # The set of available options to customize the behavior of Annotate.
      #
      POSITION_OPTIONS = ::AnnotateRb::Options::POSITION_OPTION_KEYS

      FLAG_OPTIONS = ::AnnotateRb::Options::FLAG_OPTION_KEYS

      OTHER_OPTIONS = ::AnnotateRb::Options::OTHER_OPTION_KEYS

      PATH_OPTIONS = ::AnnotateRb::Options::PATH_OPTION_KEYS

      ALL_ANNOTATE_OPTIONS = ::AnnotateRb::Options::ALL_OPTION_KEYS

      SKIP_ANNOTATION_PREFIX = '# -\*- SkipSchemaAnnotations'.freeze

      MAGIC_COMMENT_MATCHER = Regexp.new(/(^#\s*encoding:.*(?:\n|r\n))|(^# coding:.*(?:\n|\r\n))|(^# -\*- coding:.*(?:\n|\r\n))|(^# -\*- encoding\s?:.*(?:\n|\r\n))|(^#\s*frozen_string_literal:.+(?:\n|\r\n))|(^# -\*- frozen_string_literal\s*:.+-\*-(?:\n|\r\n))/).freeze
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
annotaterb-4.1.1 lib/annotate_rb/model_annotator/constants.rb
annotaterb-4.1.0 lib/annotate_rb/model_annotator/constants.rb