Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
kutt
master
Kutt
Client
Domain
Link
Links
LinkStats
StatEntry
Stats
TimeFrame
UserInfo
Built with Crystal 1.9.2
2023-10-07 21:37:58 UTC
struct
Kutt::StatEntry
Kutt::StatEntry
Struct
Value
Object
Included Modules
JSON::Serializable
Defined in:
kutt/stats.cr
Constructors
.new
(name : String, value : Int32)
.new
(pull : JSON::PullParser)
Instance Method Summary
#clone
#copy_with
(name _name = @name, value _value = @value)
#name
: String
#value
: Int32
Constructor Detail
def self.
new
(name : String, value : Int32)
#
[
View source
]
def self.
new
(pull : JSON::PullParser)
#
[
View source
]
Instance Method Detail
def
clone
#
[
View source
]
def
copy_with
(name _name = @name, value _value = @value)
#
[
View source
]
def
name
: String
#
def
value
: Int32
#