Module: Dcc::Plugin
- Defined in:
- lib/dcc/plugin.rb,
lib/dcc/plugin/registry.rb
Defined Under Namespace
Classes: Registry
Class Method Summary collapse
- .all(category) ⇒ Array<Object>
- .any?(category) ⇒ Boolean
-
.register(category, entry) ⇒ Class, Object
The entry.
-
.reset! ⇒ Object
Reset the registry (test-only helper).
Class Method Details
.all(category) ⇒ Array<Object>
26 27 28 |
# File 'lib/dcc/plugin.rb', line 26 def all(category) ::Dcc::Plugin::Registry.all(category) end |
.any?(category) ⇒ Boolean
32 33 34 |
# File 'lib/dcc/plugin.rb', line 32 def any?(category) ::Dcc::Plugin::Registry.any?(category) end |