Module: Rpush::Reflectable
- Included in:
- Daemon::AppRunner, Daemon::AppRunner, Daemon::Batch, Daemon::Delivery, Daemon::Dispatcher::ApnsHttp2, Daemon::Dispatcher::Apnsp8Http2, Daemon::DispatcherLoop, Daemon::Feeder, Daemon::Rpc::Server
- Defined in:
- lib/rpush/reflectable.rb
Instance Method Summary collapse
Instance Method Details
#reflect(name, *args) ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'lib/rpush/reflectable.rb', line 3 def reflect(name, *args) Rpush.reflection_stack.each do |reflection_collection| begin reflection_collection.__dispatch(name, *args) rescue StandardError => e Rpush.logger.error(e) end end end |