Module: Assistant
- Defined in:
- lib/assistant.rb,
lib/assistant/service.rb,
lib/assistant/version.rb,
lib/assistant/log_item.rb
Overview
Predeclare the namespace shells that multi-segment files
(module Assistant::Refinements::StringBlankness, etc.) need to exist
before they load, and declare the M-S3 instrumentation notifier
accessor. Two sibling submodules in one wrapper avoid the
Style/CompactModuleNesting single-child collapse trigger.
Defined Under Namespace
Modules: ExecuteCallbacks, InputBuilder, LogList, RbsGenerator, Refinements Classes: LogItem, Service
Constant Summary collapse
- DEFAULT_NOTIFIER =
M-S3: frozen no-op default notifier. Identity-compared by
Assistant.notifier=so callers can detect the unconfigured state if they ever need to. See docs/v1/02-features.md (M-S3) and docs/v1/01-api-surface.md. ->(_event, _payload) {}
- VERSION =
Semantic version of the
assistantgem. Follows the semver contract documented indocs/v1/01-api-surface.mdfrom 1.0.0 onward. '1.0.0.rc1'
Class Attribute Summary collapse
-
.notifier ⇒ Object
Reader for the configured instrumentation callable.
Class Attribute Details
.notifier ⇒ Object
Reader for the configured instrumentation callable. Always returns
a callable; returns DEFAULT_NOTIFIER when never assigned or when
explicitly reset with Assistant.notifier = nil.
29 30 31 |
# File 'lib/assistant.rb', line 29 def notifier @notifier end |