Sha256: ed27fdc49b97f1632347f7e4442673c6233be940e6431c6099991d01e4dea473

Contents?: true

Size: 314 Bytes

Versions: 25

Compression:

Stored size: 314 Bytes

Contents

# frozen_string_literal: true

module PlatformosCheck
  class YamlCheck < Check
    extend ChecksTracking

    def add_offense(message, markup: nil, line_number: nil, app_file: nil, &block)
      offenses << Offense.new(check: self, message:, markup:, line_number:, app_file:, correction: block)
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
platformos-check-0.4.14 lib/platformos_check/yaml_check.rb
platformos-check-0.4.13 lib/platformos_check/yaml_check.rb
platformos-check-0.4.12 lib/platformos_check/yaml_check.rb
platformos-check-0.4.11 lib/platformos_check/yaml_check.rb
platformos-check-0.4.10 lib/platformos_check/yaml_check.rb
platformos-check-0.4.9 lib/platformos_check/yaml_check.rb
platformos-check-0.4.8 lib/platformos_check/yaml_check.rb
platformos-check-0.4.7 lib/platformos_check/yaml_check.rb
platformos-check-0.4.6 lib/platformos_check/yaml_check.rb
platformos-check-0.4.5 lib/platformos_check/yaml_check.rb
platformos-check-0.4.4 lib/platformos_check/yaml_check.rb
platformos-check-0.4.3 lib/platformos_check/yaml_check.rb
platformos-check-0.4.2 lib/platformos_check/yaml_check.rb
platformos-check-0.4.1 lib/platformos_check/yaml_check.rb
platformos-check-0.4.0 lib/platformos_check/yaml_check.rb
platformos-check-0.3.3 lib/platformos_check/yaml_check.rb
platformos-check-0.3.1 lib/platformos_check/yaml_check.rb
platformos-check-0.3.0 lib/platformos_check/yaml_check.rb
platformos-check-0.2.2 lib/platformos_check/yaml_check.rb
platformos-check-0.2.1 lib/platformos_check/yaml_check.rb