Class: Indocker::Volumes::Local

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, local_path, path) ⇒ Local

Returns a new instance of Local.



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

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

Instance Attribute Details

#local_pathObject (readonly)

Returns the value of attribute local_path.



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

def local_path
  @local_path
end

#nameObject (readonly)

Returns the value of attribute name.



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

def name
  @name
end

#pathObject (readonly)

Returns the value of attribute path.



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

def path
  @path
end