Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
wrench
v0.1.3
Elapsed
Flag
Emoji
HTTP
Client
Response
CompressType
Request
Server
Response
WebSocket
IO
CopyException
Evented
Log
Number
Socket
Address
Addrinfo
TCPSocket
Transport
Reliable
Side
URI
Built with Crystal 1.9.2
2023-10-07 22:06:09 UTC
module
Elapsed
Defined in:
wrench/elapsed.cr
Class Method Summary
.flag_to_text
(flag : Flag) : String | Nil
.to_text
(elapsed : Time::Span, round : Int32 =
2
) : String
.to_tuple
(elapsed : Time::Span) : Tuple(Float64, Flag) | Nil
Class Method Detail
def self.
flag_to_text
(flag :
Flag
) : String | Nil
#
[
View source
]
def self.
to_text
(elapsed : Time::Span, round : Int32 =
2
) : String
#
[
View source
]
def self.
to_tuple
(elapsed : Time::Span) : Tuple(Float64,
Flag
) | Nil
#
[
View source
]