struct

Apm::Span

Inherits Struct < Value < Object

Constructors

new(label : String = "", start : Time::Span | Nil = nil, finish : Time::Span | Nil = nil)
Source

Instance methods

add_finish_time(finished_at)
Source
clone
Source
copy_with(label _label = @label, start _start = @start, finish _finish = @finish)
Source
finish
interval
Source
label
report
Source
start
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.

Source