Sha256: f4bac929eb789ab79c2902c4085e785bae9612412c48c6ed44d0a683bb4eb373
Contents?: true
Size: 520 Bytes
Versions: 12
Compression:
Stored size: 520 Bytes
Contents
module Gurney class Dependency attr_reader :ecosystem, :name, :version def initialize(ecosystem:, name:, version:) @ecosystem = ecosystem @name = name @version = version end def to_json(*args) { ecosystem: @ecosystem, name: @name, version: @version, }.to_json(*args) end def ==(other) other.class == self.class && other.ecosystem == ecosystem && other.name == name && other.version == version end end end
Version data entries
12 entries across 12 versions & 1 rubygems