Sha256: 5fc31cdef28e27958ab28422ae471e21b7a6647a91a5a9a04edb8d3ac65b5dff
Contents?: true
Size: 640 Bytes
Versions: 16
Compression:
Stored size: 640 Bytes
Contents
# typed: strict module Kuby module Docker class Layer extend T::Sig extend T::Helpers abstract! sig { returns(Environment) } attr_reader :environment sig { params(environment: Environment).void } def initialize(environment) @environment = environment end sig { params(dockerfile: Dockerfile).void } def apply_to(dockerfile) raise NotImplementedError, "#{__method__} must be defined in derived classes" end private sig { returns(Metadata) } def metadata environment.docker.metadata end end end end
Version data entries
16 entries across 16 versions & 1 rubygems