Class: Diagrams::Elements::TimelineEvent
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- Diagrams::Elements::TimelineEvent
- Includes:
- Types
- Defined in:
- lib/diagrams/elements/timeline_event.rb
Overview
Represents a single event description within a timeline period.
Instance Method Summary collapse
-
#to_h ⇒ Hash{Symbol => String}
Returns a hash representation suitable for serialization.
Instance Method Details
#to_h ⇒ Hash{Symbol => String}
Returns a hash representation suitable for serialization.
14 15 16 17 18 |
# File 'lib/diagrams/elements/timeline_event.rb', line 14 def to_h { description: } end |