Sha256: 5221739eb4110194b69220e445a0156d03e43f999b6de15312b000628175a983

Contents?: true

Size: 269 Bytes

Versions: 16

Compression:

Stored size: 269 Bytes

Contents

# frozen_string_literal: true

module Spdx
  class License
    attr_reader :id, :name, :osi_approved
    alias osi_approved? osi_approved

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

Version data entries

16 entries across 16 versions & 1 rubygems

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