Module: TIMEx::NamedComponent
- Included in:
- Composers::Base, Strategies::Base
- Defined in:
- lib/timex/named_component.rb
Overview
Mixin that exposes a stable snake_case symbol derived from the including class name. Used for telemetry event payloads and Result metadata so strategy and composer names stay consistent without manual registration.
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
12 13 14 |
# File 'lib/timex/named_component.rb', line 12 def self.included(base) base.extend(ClassMethods) end |