Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
trashman
v1.0.1
CallStack
Time
Span
Trashman
Analyzer
AnalyzerRecord
BaseRecord
Config
DefaultFormatter
Formatter
Ignore
Record
RecordNode
Ref
Statistics
Built with Crystal 1.9.2
2023-10-08 09:29:12 UTC
class
Trashman::Ref(T)
Trashman::Ref(T)
Reference
Object
Defined in:
trashman/ref.cr
Constructors
.new
(reference : T, life_start : Time)
Instance Method Summary
#dead?
#death
#invalid?
#kill
#life_start
#lifetime
Constructor Detail
def self.
new
(reference : T, life_start :
Time
)
#
[
View source
]
Instance Method Detail
def
dead?
#
[
View source
]
def
death
#
[
View source
]
def
invalid?
#
[
View source
]
def
kill
#
[
View source
]
def
life_start
#
[
View source
]
def
lifetime
#
[
View source
]