Method: Dry::Monitor::Notifications#initialize
- Defined in:
- lib/dry/monitor/notifications.rb
permalink #initialize(id, clock: CLOCK) ⇒ Notifications
Returns a new instance of Notifications.
15 16 17 18 |
# File 'lib/dry/monitor/notifications.rb', line 15 def initialize(id, clock: CLOCK) @id = id @clock = clock end |