Class: VirtualModule::BaseIpcInterface
- Inherits:
-
Object
- Object
- VirtualModule::BaseIpcInterface
- Defined in:
- lib/virtual_module.rb
Direct Known Subclasses
Constant Summary collapse
- LIB_SCRIPT =
"vmlib"
Instance Attribute Summary collapse
-
#work_dir ⇒ Object
Returns the value of attribute work_dir.
Instance Method Summary collapse
- #call(name, *args) ⇒ Object
-
#initialize(provider) ⇒ BaseIpcInterface
constructor
A new instance of BaseIpcInterface.
-
#reset(provider) ⇒ Object
do nothing.
Constructor Details
#initialize(provider) ⇒ BaseIpcInterface
Returns a new instance of BaseIpcInterface.
519 520 521 522 |
# File 'lib/virtual_module.rb', line 519 def initialize(provider) @provider = provider @work_dir = Dir.mktmpdir(nil, Dir.home) end |
Instance Attribute Details
#work_dir ⇒ Object
Returns the value of attribute work_dir.
517 518 519 |
# File 'lib/virtual_module.rb', line 517 def work_dir @work_dir end |
Instance Method Details
#call(name, *args) ⇒ Object
523 524 525 |
# File 'lib/virtual_module.rb', line 523 def call(name, *args) #do nothing end |
#reset(provider) ⇒ Object
do nothing
526 527 528 |
# File 'lib/virtual_module.rb', line 526 def reset(provider) @provider = provider end |