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

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

#sub_object?(obj) ⇒ Boolean

Returns:

  • (Boolean)


56
57
58
59
60
# File 'lib/eye/process/data.rb', line 56

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