Method: Roby::Application#call_plugins
- Defined in:
- lib/roby/app.rb
#call_plugins(method, *args, deprecated: nil) ⇒ Object
Call method on each loaded extension module which define it, with arguments args
1413 1414 1415 1416 1417 1418 1419 1420 1421 |
# File 'lib/roby/app.rb', line 1413 def call_plugins(method, *args, deprecated: nil) each_responding_plugin(method) do |config_extension| if deprecated Roby.warn "#{config_extension} uses the deprecated .#{method} "\ "hook during setup and teardown, #{deprecated}" end config_extension.send(method, *args) end end |