Sha256: d0c1f6361aa521360e7a07acba268f5ad0fc25a39bda2711e0b139eeda8221fd
Contents?: true
Size: 844 Bytes
Versions: 5
Compression:
Stored size: 844 Bytes
Contents
# typed: strict module Kuby module Docker module Packages class Package # extend T::Sig # extend T::Helpers # abstract! # T::Sig::WithoutRuntime.sig { returns(Symbol) } attr_reader :name # T::Sig::WithoutRuntime.sig { returns(T.nilable(String)) } attr_reader :version # T::Sig::WithoutRuntime.sig { params(name: Symbol, version: T.nilable(String)).void } def initialize(name, version = nil) @name = name @version = version end # T::Sig::WithoutRuntime.sig { params(ver: String).returns(T.self_type) } def with_version(ver) self.class.new(name, ver) end # T::Sig::WithoutRuntime.sig { returns(T::Boolean) } def managed? false end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems