Sha256: 376714eb440cffb353434a0bae536cf8b837161612bf10a50daf8a83dd839527

Contents?: true

Size: 259 Bytes

Versions: 16

Compression:

Stored size: 259 Bytes

Contents

# frozen_string_literal: true

module Spdx
  class Exception
    attr_reader :id, :name, :deprecated
    alias deprecated? deprecated

    def initialize(id, name, deprecated)
      @id = id
      @name = name
      @deprecated = deprecated
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
spdx-4.1.4 lib/exception.rb
spdx-4.1.3 lib/exception.rb
spdx-4.1.2 lib/exception.rb
spdx-4.1.1 lib/exception.rb
spdx-4.1.0 lib/exception.rb
spdx-4.0.2 lib/exception.rb
spdx-4.0.1 lib/exception.rb
spdx-4.0.0 lib/exception.rb
spdx-3.1.0 lib/exception.rb
spdx-3.0.1 lib/exception.rb
spdx-3.0.0 lib/exception.rb
spdx-2.0.12 lib/exception.rb
spdx-2.0.11 lib/exception.rb
spdx-2.0.10 lib/exception.rb
spdx-2.0.9 lib/exception.rb
spdx-2.0.5 lib/exception.rb