Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
diary
master
Diary
Entry
Manager
Built with Crystal 1.9.2
2023-10-07 21:21:39 UTC
class
Diary::Entry
Diary::Entry
Reference
Object
Defined in:
diary/entry.cr
Constant Summary
FILE_REGEXP
=
/(\d{4}-\d{2}-\d{2})-(\d{1,2}-\d{2})/
Constructors
.new
(file : String)
Instance Method Summary
#basename
#date
#file
: String
#hour
#name
Constructor Detail
def self.
new
(file : String)
#
[
View source
]
Instance Method Detail
def
basename
#
[
View source
]
def
date
#
[
View source
]
def
file
: String
#
[
View source
]
def
hour
#
[
View source
]
def
name
#
[
View source
]