Module: OperatorRecordable::Store
- Defined in:
- lib/operator_recordable/store.rb
Class Method Summary collapse
Class Method Details
.fetch(name) ⇒ Object
10 11 12 |
# File 'lib/operator_recordable/store.rb', line 10 def self.fetch(name) @stores.fetch(name) end |
.register(name, klass) ⇒ Object
5 6 7 8 |
# File 'lib/operator_recordable/store.rb', line 5 def self.register(name, klass) @stores ||= {} @stores[name] = klass end |