Class: Kuby::Docker::WebserverPhase::Webserver

Inherits:
Object
  • Object
show all
Defined in:
lib/kuby/docker/webserver_phase.rb

Overview

extend T::Sig

Direct Known Subclasses

Puma

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(phase) ⇒ Webserver

T::Sig::WithoutRuntime.sig { params(phase: WebserverPhase).void }



18
19
20
# File 'lib/kuby/docker/webserver_phase.rb', line 18

def initialize(phase)
  @phase = phase
end

Instance Attribute Details

#phaseObject (readonly)

T::Sig::WithoutRuntime.sig { returns(WebserverPhase) }



15
16
17
# File 'lib/kuby/docker/webserver_phase.rb', line 15

def phase
  @phase
end

Instance Method Details

#apply_to(dockerfile) ⇒ Object

T::Sig::WithoutRuntime.sig { abstract.params(dockerfile: Dockerfile).void }



23
# File 'lib/kuby/docker/webserver_phase.rb', line 23

def apply_to(dockerfile); end