Class: Indocker::ContainerDirectives::EnvFile

Inherits:
Base show all
Defined in:
lib/indocker/directives/container_directives/env_file.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#after_start?, #after_stop?, #before_start?, #before_stop?

Methods inherited from Directives::Base

#build_directive?, #container_directive?, #partial?, #prepare_directive?

Constructor Details

#initialize(path) ⇒ EnvFile

Returns a new instance of EnvFile.



4
5
6
# File 'lib/indocker/directives/container_directives/env_file.rb', line 4

def initialize(path)
  @path = path
end

Instance Attribute Details

#path ⇒ Object

Returns the value of attribute path.



2
3
4
# File 'lib/indocker/directives/container_directives/env_file.rb', line 2

def path
  @path
end