lib/ury_rapid/app.rb
# Runs the Rapid application in a new EventMachine instance
Runs the Rapid application in a new EventMachine instance
Runs the Rapid application in a new EventMachine instance
def run
      @reactor.run do
        @root.run
        Signal.trap('INT', &method(:close))
        Signal.trap('TERM', &method(:close))
      end
    end
def run @reactor . run do @root . run Signal . trap ( 'INT' , & method ( :close ) ) Signal . trap ( 'TERM' , & method ( :close ) ) end end
Runs the Rapid application in a new EventMachine instance
Runs the Rapid application in a new EventMachine instance