Method: Daemons::ApplicationGroup#running?

Defined in:
lib/daemons/application_group.rb

#running?Boolean

Check whether at least one of the applications in the group is running. If yes, return true.

Returns:

  • (Boolean)


203
204
205
206
# File 'lib/daemons/application_group.rb', line 203

def running?
  @applications.each { |a| return true if a.running? }
  return false
end