struct Apm::Span
- Apm::Span
- Struct
- Value
- Object
Defined in:
apm.crConstructors
Instance Method Summary
- #add_finish_time(finished_at)
- #clone
- #copy_with(label _label = @label, start _start = @start, finish _finish = @finish)
- #finish : Time::Span | Nil
- #interval
- #label : String
- #report
- #start : Time::Span | Nil
-
#to_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
Constructor Detail
def self.new(label : String = "", start : Time::Span | Nil = nil, finish : Time::Span | Nil = nil)
#
Instance Method Detail
def copy_with(label _label = @label, start _start = @start, finish _finish = @finish)
#
def to_s
#
Description copied from class Object
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
.