Module: EvilEvents::Core::Events::EventExtensions::Serializable Private
- Included in:
- AbstractEvent
- Defined in:
- lib/evil_events/core/events/event_extensions/serializable.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.
Instance Method Summary collapse
- #serialize_to_hash ⇒ Hash (also: #dump_to_hash) private
- #serialize_to_json ⇒ String (also: #dump_to_json) private
- #serialize_to_msgpack ⇒ String (also: #dump_to_msgpack) private
- #serialize_to_xml ⇒ String (also: #dump_to_xml) private
Instance Method Details
#serialize_to_hash ⇒ Hash Also known as: dump_to_hash
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/serializable.rb', line 11 def serialize_to_hash EvilEvents::Core::Bootstrap[:event_system].serialize_to_hash(self) end |
#serialize_to_json ⇒ String Also known as: dump_to_json
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.
20 21 22 |
# File 'lib/evil_events/core/events/event_extensions/serializable.rb', line 20 def serialize_to_json EvilEvents::Core::Bootstrap[:event_system].serialize_to_json(self) end |
#serialize_to_msgpack ⇒ String Also known as: dump_to_msgpack
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.
38 39 40 |
# File 'lib/evil_events/core/events/event_extensions/serializable.rb', line 38 def serialize_to_msgpack EvilEvents::Core::Bootstrap[:event_system].serialize_to_msgpack(self) end |
#serialize_to_xml ⇒ String Also known as: dump_to_xml
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.
29 30 31 |
# File 'lib/evil_events/core/events/event_extensions/serializable.rb', line 29 def serialize_to_xml EvilEvents::Core::Bootstrap[:event_system].serialize_to_xml(self) end |