Class: Duty::Registry
- Inherits:
-
Object
- Object
- Duty::Registry
- Defined in:
- lib/duty/registry.rb
Defined Under Namespace
Classes: Plugin
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.instance ⇒ Object
3 4 5 6 |
# File 'lib/duty/registry.rb', line 3 def self.instance return @instance if @instance @instance = new end |
Instance Method Details
#plugins ⇒ Object
12 13 14 |
# File 'lib/duty/registry.rb', line 12 def plugins @plugins end |