class

Temporal::Event

Inherits Reference < Object

An event that happens at a point in time or over an interval

Constructors

new(name : String, interval : Interval)

Instance methods

at_time?(t : Float64) : Bool
id
interval
name
properties
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.