Sha256: d4ed08e7fc3b3262f283947d37f28554ad3afe73ace7b646fefc4fd6193987e5

Contents?: true

Size: 332 Bytes

Versions: 27

Compression:

Stored size: 332 Bytes

Contents

# frozen_string_literal: true

module Spandx
  module Dotnet
    class PackageReference
      attr_reader :name, :version

      def initialize(name:, version:)
        @name = name
        @version = version
      end

      def to_h
        {
          name: name,
          version: version
        }
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
spandx-0.18.3 lib/spandx/dotnet/package_reference.rb
spandx-0.18.2 lib/spandx/dotnet/package_reference.rb
spandx-0.18.1 lib/spandx/dotnet/package_reference.rb
spandx-0.18.0 lib/spandx/dotnet/package_reference.rb
spandx-0.17.0 lib/spandx/dotnet/package_reference.rb
spandx-0.16.1 lib/spandx/dotnet/package_reference.rb
spandx-0.16.0 lib/spandx/dotnet/package_reference.rb
spandx-0.15.1 lib/spandx/dotnet/package_reference.rb
spandx-0.15.0 lib/spandx/dotnet/package_reference.rb
spandx-0.14.0 lib/spandx/dotnet/package_reference.rb
spandx-0.13.5 lib/spandx/dotnet/package_reference.rb
spandx-0.13.4 lib/spandx/dotnet/package_reference.rb
spandx-0.13.3 lib/spandx/dotnet/package_reference.rb
spandx-0.13.2 lib/spandx/dotnet/package_reference.rb
spandx-0.13.1 lib/spandx/dotnet/package_reference.rb
spandx-0.13.0 lib/spandx/dotnet/package_reference.rb
spandx-0.12.3 lib/spandx/dotnet/package_reference.rb
spandx-0.12.2 lib/spandx/dotnet/package_reference.rb
spandx-0.12.1 lib/spandx/dotnet/package_reference.rb
spandx-0.12.0 lib/spandx/dotnet/package_reference.rb