Class: Kuby::Docker::WebserverPhase::Webserver
- Inherits:
-
Object
- Object
- Kuby::Docker::WebserverPhase::Webserver
- Defined in:
- lib/kuby/docker/webserver_phase.rb
Overview
extend T::Sig
Direct Known Subclasses
Instance Attribute Summary collapse
-
#phase ⇒ Object
readonly
T::Sig::WithoutRuntime.sig { returns(WebserverPhase) }.
Instance Method Summary collapse
-
#apply_to(dockerfile) ⇒ Object
T::Sig::WithoutRuntime.sig { abstract.params(dockerfile: Dockerfile).void }.
-
#initialize(phase) ⇒ Webserver
constructor
T::Sig::WithoutRuntime.sig { params(phase: WebserverPhase).void }.
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
#phase ⇒ Object (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 |