Exception: MultiProcess::ProcessError

Inherits:
Error
  • Object
show all
Defined in:
lib/multi_process/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(process, *args, **kwargs) ⇒ ProcessError

Returns a new instance of ProcessError.



9
10
11
12
# File 'lib/multi_process/errors.rb', line 9

def initialize(process, *args, **kwargs)
  @process = process
  super(*args, **kwargs)
end

Instance Attribute Details

#processObject (readonly)

Returns the value of attribute process.



7
8
9
# File 'lib/multi_process/errors.rb', line 7

def process
  @process
end