19 lines · 381 B · Ruby
RawDownload
# frozen_string_literal: true module Docs  class StoreSubscriber < Subscriber    self.namespace = 'store'     def create(event)      log "Create: #{format_path event.payload[:path]}"    end     def update(event)      log "Update: #{format_path event.payload[:path]}"    end     def destroy(event)      log "Delete: #{format_path event.payload[:path]}"    end  endend

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t