Class: Rascal::Docker::Volume::Bind
- Defined in:
- lib/rascal/docker/volume.rb
Instance Method Summary collapse
- #clean ⇒ Object
-
#initialize(local_path, container_path) ⇒ Bind
constructor
A new instance of Bind.
- #to_param ⇒ Object
Methods included from IOHelper
#say, setup, #stderr, #stdin, #stdout
Constructor Details
#initialize(local_path, container_path) ⇒ Bind
Returns a new instance of Bind.
41 42 43 44 |
# File 'lib/rascal/docker/volume.rb', line 41 def initialize(local_path, container_path) @local_path = local_path @container_path = container_path end |
Instance Method Details
#clean ⇒ Object
50 51 52 |
# File 'lib/rascal/docker/volume.rb', line 50 def clean # nothing to do end |
#to_param ⇒ Object
46 47 48 |
# File 'lib/rascal/docker/volume.rb', line 46 def to_param "#{@local_path}:#{@container_path}" end |