Sha256: 072af13ba6c91b0d36892c763892a3c0a89b2c8125c979148b994286dddb458e

Contents?: true

Size: 271 Bytes

Versions: 16

Compression:

Stored size: 271 Bytes

Contents

# frozen_string_literal: true

module Git
  module Lint
    module Errors
      class Severity < Base
        def initialize level
          super %(Invalid severity level: #{level}. Use: #{Analyzers::Abstract::LEVELS.join ", "}.)
        end
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
git-lint-2.4.0 lib/git/lint/errors/severity.rb
git-lint-2.3.3 lib/git/lint/errors/severity.rb
git-lint-2.3.2 lib/git/lint/errors/severity.rb
git-lint-2.3.1 lib/git/lint/errors/severity.rb
git-lint-2.3.0 lib/git/lint/errors/severity.rb
git-lint-2.2.1 lib/git/lint/errors/severity.rb
git-lint-2.2.0 lib/git/lint/errors/severity.rb
git-lint-2.1.0 lib/git/lint/errors/severity.rb
git-lint-2.0.0 lib/git/lint/errors/severity.rb
git-lint-1.4.0 lib/git/lint/errors/severity.rb
git-lint-1.3.0 lib/git/lint/errors/severity.rb
git-lint-1.2.0 lib/git/lint/errors/severity.rb
git-lint-1.1.1 lib/git/lint/errors/severity.rb
git-lint-1.1.0 lib/git/lint/errors/severity.rb
git-lint-1.0.1 lib/git/lint/errors/severity.rb
git-lint-1.0.0 lib/git/lint/errors/severity.rb