Method: Jarl::Application#start

Defined in:
lib/jarl/application.rb

#startObject

Start instances of the application



101
102
103
104
105
106
107
108
# File 'lib/jarl/application.rb', line 101

def start
  instances.map(&:stop!) if running?
  if scale > 1
    scale.times { |n| Instance.start(self, n + 1) }
  else
    Instance.start(self)
  end
end