module Shard
Extended Modules
Defined in:
shard.crshard/accessor.cr
shard/error.cr
shard/git.cr
shard/runtime.cr
Constant Summary
-
DATA =
YAML.parse({{ (system(("cat " + ((env("PWD")) || ".")) + "/shard.yml")).stringify }})
-
ROOT =
{{ (env("PWD")) || "." }}
-
TIME =
Time.epoch({{ system("date '+%s'") }})
Instance Method Summary
- #[](key) : YAML::Any::Type
- #[]?(key) : YAML::Any::Type | Nil
- #array(key) : Array
- #array?(key) : Array | Nil
- #authors
- #authors?
- #float(key) : Float32
- #float32(key) : Float32
- #float32?(key) : Float32 | Nil
- #float64(key) : Float64
- #float64?(key) : Float64 | Nil
- #float?(key) : Float32 | Nil
- #git_branch
- #git_description
- #git_version
- #int(key) : Int32
- #int32(key) : Int32
- #int32?(key) : Int32 | Nil
- #int64(key) : Int64
- #int64?(key) : Int64 | Nil
- #int?(key) : Int32 | Nil
- #license
- #license?
- #name
- #name?
- #program
- #str(key) : String
- #str?(key) : String | Nil
- #time
- #to_s(io : IO)
- #version
- #version?