Apm::Span
Inherits Struct < Value < Object
Constructors
new(label : String = "", start : Time::Span | Nil = nil, finish : Time::Span | Nil = nil)
SourceInstance methods
add_finish_time(finished_at)
Sourceclone
Sourcecopy_with(label _label = @label, start _start = @start, finish _finish = @finish)
Sourcefinish
interval
Sourcelabel
report
Sourcestart
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.