Class: Vx::Lib::Container::Local
- Inherits:
-
Object
- Object
- Vx::Lib::Container::Local
- Defined in:
- lib/vx/lib/container/local.rb,
lib/vx/lib/container/local/spawner.rb
Defined Under Namespace
Classes: Spawner
Instance Attribute Summary collapse
-
#work_dir ⇒ Object
readonly
Returns the value of attribute work_dir.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Local
constructor
A new instance of Local.
- #start(&block) ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ Local
Returns a new instance of Local.
12 13 14 15 |
# File 'lib/vx/lib/container/local.rb', line 12 def initialize( = {}) @work_dir = [:work_dir] || default_work_dir @work_dir = File.(@work_dir) end |
Instance Attribute Details
#work_dir ⇒ Object (readonly)
Returns the value of attribute work_dir.
10 11 12 |
# File 'lib/vx/lib/container/local.rb', line 10 def work_dir @work_dir end |