Method: Eye::Process::Data#sub_object?

Defined in:
lib/eye/process/data.rb

#sub_object?(obj) ⇒ Boolean

Returns:

  • (Boolean)


66
67
68
69
70
# File 'lib/eye/process/data.rb', line 66

def sub_object?(obj)
  return false if self.class == Eye::ChildProcess
  self.children.each { |_, child| return true if child == obj }
  false
end