Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
foo
master
Action
CollectDAction
CollectDData
CollectDProcessor
FileManager
OpenFile
FileWatcher
FileData
JSONFileWatcher
Main
Processor
StringMru
MruData
SyslogData
Tcp
TypeTable
Generated using Crystal 1.14.0
2024-11-26 07:18:15 UTC
class
StringMru
StringMru
Reference
Object
Defined in:
string_mru.cr
Constructors
.new
(lifespan : Int64, filepath : String)
Instance Method Summary
#add
(value : String)
#get_recent
: Array(MruData)
#start_cleaner
#write_recents
Constructor Detail
def self.
new
(lifespan : Int64, filepath : String)
#
[
View source
]
Instance Method Detail
def
add
(value : String)
#
[
View source
]
def
get_recent
: Array(
MruData
)
#
[
View source
]
def
start_cleaner
#
[
View source
]
def
write_recents
#
[
View source
]