lib/pigeon/engine.rb
def run
    assign_process_name!

    wrap_chain(:start) do
      STDOUT.sync = true

      logger.info("Engine \##{id} Running")
    
      switch_to_effective_user! if (self.class.user)

      @state = :running
    end
  end
# Handles the run phase of the engine, triggers the before_start and
# after_start events accordingly.
Handles the run phase of the engine, triggers the before_start and
after_start events accordingly.
Handles the run phase of the engine triggers the before_start and after_start events accordingly .
def run
    assign_process_name!
    wrap_chain(:start) do
      STDOUT.sync = true
      logger.info("Engine \##{id} Running")
      switch_to_effective_user! if (self.class.user)
      @state = :running
    end
  end
def run assign_process_name! wrap_chain ( :start ) do STDOUT . sync = true logger . info ( "Engine \##{id} Running" ) switch_to_effective_user! if ( self . class . user ) @state = :running end end
Handles the run phase of the engine, triggers the before_start and
after_start events accordingly.
Handles the run phase of the engine triggers the before_start and after_start events accordingly .