Module: EvilEvents::Core::Events::EventExtensions::MetadataExtendable Private
- Included in:
- AbstractEvent
- Defined in:
- lib/evil_events/core/events/event_extensions/metadata_extendable.rb,
lib/evil_events/core/events/event_extensions/metadata_extendable/abstract_metadata.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Defined Under Namespace
Modules: ClassMethods
Constant Summary collapse
- AbstractMetadata =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Class.new(EvilEvents::Shared::Structure)
Class Method Summary collapse
- .included(base_class) ⇒ Object private
Instance Method Summary collapse
- #build_metadata(**metadata_attributes) ⇒ Class{AbstractMetadata} private private
Class Method Details
.included(base_class) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
11 12 13 |
# File 'lib/evil_events/core/events/event_extensions/metadata_extendable.rb', line 11 def included(base_class) base_class.extend(ClassMethods) end |
Instance Method Details
#build_metadata(**metadata_attributes) ⇒ Class{AbstractMetadata} (private)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
21 22 23 |
# File 'lib/evil_events/core/events/event_extensions/metadata_extendable.rb', line 21 def (**) self.class..new(**) end |