module Shard

Extended Modules

Defined in:

shard.cr
shard/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

Macro Summary

Instance Method Detail

def [](key) : YAML::Any::Type #

[View source]
def []?(key) : YAML::Any::Type | Nil #

[View source]
def array(key) : Array #

[View source]
def array?(key) : Array | Nil #

[View source]
def authors #

[View source]
def authors? #

[View source]
def float(key) : Float32 #

[View source]
def float32(key) : Float32 #

[View source]
def float32?(key) : Float32 | Nil #

[View source]
def float64(key) : Float64 #

[View source]
def float64?(key) : Float64 | Nil #

[View source]
def float?(key) : Float32 | Nil #

[View source]
def git_description #

[View source]
def git_version #

[View source]
def int(key) : Int32 #

[View source]
def int32(key) : Int32 #

[View source]
def int32?(key) : Int32 | Nil #

[View source]
def int64(key) : Int64 #

[View source]
def int64?(key) : Int64 | Nil #

[View source]
def int?(key) : Int32 | Nil #

[View source]
def license #

[View source]
def license? #

[View source]
def name #

[View source]
def name? #

[View source]
def program #

[View source]
def str(key) : String #

[View source]
def str?(key) : String | Nil #

[View source]
def time #

[View source]
def to_s(io : IO) #

[View source]
def version #

[View source]
def version? #

[View source]

Macro Detail

macro casting_accessor(name, type) #

[View source]
macro field(name, method) #

[View source]