Method: Wellness::System#initialize

Defined in:
lib/wellness/system.rb

#initialize(name) ⇒ System

Returns a new instance of System.

Parameters:

  • name (String)

    the name of the system



10
11
12
13
14
15
# File 'lib/wellness/system.rb', line 10

def initialize(name)
  @name = name
  @services = []
  @details = []
  @mutex = Mutex.new
end