Class: LS4::MemoryRelayTimeStampService
- Inherits:
-
RelayTimeStampService
- Object
- EventBus::Singleton
- Service
- RelayTimeStampService
- LS4::MemoryRelayTimeStampService
- Defined in:
- lib/ls4/service/rts_memory.rb
Defined Under Namespace
Classes: Stamp
Instance Method Summary collapse
Methods inherited from Service
Methods included from EventBus::SingletonMixin
#ebus_bind!, #ebus_connect, extended
Methods included from EventBus::BusMixin
#ebus_all_slots, #ebus_disconnect!
Methods included from EventBus::DeclarerBase::Methods
#connect, #ebus_all_slots, #ebus_call_log, #ebus_call_slots, #ebus_signal_error, #ebus_signal_log, #ebus_signal_slots
Methods included from EventBus::DeclarerBase
Instance Method Details
#init(expr) ⇒ Object
24 25 26 |
# File 'lib/ls4/service/rts_memory.rb', line 24 def init(expr) @hash = {} end |
#open(nid) ⇒ Object
49 50 51 |
# File 'lib/ls4/service/rts_memory.rb', line 49 def open(nid) @hash[nid] ||= Stamp.new end |