Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
kilometric
master
Kilometric
Counter
Metric
Point
RedisStore
Built with Crystal 1.9.2
2023-10-07 17:40:23 UTC
class
Kilometric::Metric(T)
Kilometric::Metric(T)
Reference
Object
Included Modules
JSON::Serializable
Defined in:
kilometric.cr
Constructors
.new
(name : String, values : Array(T))
.new
(pull : JSON::PullParser)
Instance Method Summary
#name
: String
#name=
(name : String)
#values
: Array(T)
#values=
(values : Array(T))
Constructor Detail
def self.
new
(name : String, values : Array(T))
#
[
View source
]
def self.
new
(pull : JSON::PullParser)
#
[
View source
]
Instance Method Detail
def
name
: String
#
[
View source
]
def
name=
(name : String)
#
[
View source
]
def
values
: Array(T)
#
[
View source
]
def
values=
(values : Array(T))
#
[
View source
]