Class: VirtualModule::BaseIpcInterface

Inherits:
Object
  • Object
show all
Defined in:
lib/virtual_module.rb

Direct Known Subclasses

FileIpcInterface, RpcIpcInterface

Constant Summary collapse

LIB_SCRIPT =
"vmlib"

Instance Attribute Summary collapse

Instance Method Summary collapse

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_dirObject

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