Class: Indocker::EnvFiles::Local

Inherits:
Object
  • Object
show all
Defined in:
lib/indocker/env_files/local.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, path) ⇒ Local

Returns a new instance of Local.



4
5
6
7
# File 'lib/indocker/env_files/local.rb', line 4

def initialize(name, path)
  @name = name
  @path = path
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



2
3
4
# File 'lib/indocker/env_files/local.rb', line 2

def name
  @name
end

#pathObject (readonly)

Returns the value of attribute path.



2
3
4
# File 'lib/indocker/env_files/local.rb', line 2

def path
  @path
end