Module: EventEngine::Reference

Defined in:
lib/event_engine/reference.rb

Overview

Single source of truth for the EventEngine API reference. The companion Claude Code subagents (and any future doc generator) read from here so they can never disagree about how the gem is used.

Constant Summary collapse

DIR =
File.expand_path("reference", __dir__)

Class Method Summary collapse

Class Method Details

.contentObject



8
9
10
# File 'lib/event_engine/reference.rb', line 8

def self.content
  read("guide.md")
end

.read(name) ⇒ Object



12
13
14
# File 'lib/event_engine/reference.rb', line 12

def self.read(name)
  File.read(File.join(DIR, name)).chomp
end