module Shard
Extended Modules
Defined in:
shard.cr
Constant Summary
-
DATA =
YAML.parse({{ (system(("cat " + (env("PWD"))) + "/shard.yml")).stringify }})
-
TIME =
Time.epoch({{ system("date '+%s'") }})
Instance Method Summary
Macro Summary
Instance Method Detail
def
[](key) : YAML::Type
#
def
[]?(key) : YAML::Type | Nil
#
def
array?(key) : Array | Nil
#
def
float(key) : Float32
#
def
float32(key) : Float32
#
def
float32?(key) : Float32 | Nil
#
def
float64(key) : Float64
#
def
float64?(key) : Float64 | Nil
#
def
float?(key) : Float32 | Nil
#
def
int32?(key) : Int32 | Nil
#
def
int64?(key) : Int64 | Nil
#
def
int?(key) : Int32 | Nil
#
def
str?(key) : String | Nil
#
Macro Detail
macro
casting_accessor(name, type)
#
macro
field(name, method)
#