         # File lib/eventmachine.rb, line 373
    373:   def EventMachine::add_periodic_timer *args, &block
    374:     interval = args.shift
    375:     code = args.shift || block
    376:     if code
    377:       block_1 = proc {
    378:         code.call
    379:         EventMachine::add_periodic_timer interval, code
    380:       }
    381:       add_timer interval, block_1
    382:     end
    383:   end