Types

ResDef

Parent types

Methods

converge(rd:ResDef, **props:Hash)
create(rd:ResDef, n:Int, **props:Hash)
created(rd:ResDef, resources:Arr, props:Hash)
delete(rd:ResDef)
each(rd:ResDef, cb:Fun)
expect(rd:ResDef, e:Int)
expect(rd:ResDef)
ids(rd:ResDef)
init(rd:ResDef, anchor:Any)
init(rd:ResDef)
init(r:Res, def:ResDef, props:Hash)
len(rd:ResDef)
log(rd:ResDef, method:Str, s:Str)
opt_prop(rd:ResDef, name:Str, props:Hash)
Get optional resource property, looking up in properties first and then in anchor
opt_prop(rd:ResDef, name:Str, props:Hash, cb:Fun)
Run cb with optional resource property if it exists, uses opt_prop(ResDef, Str, Hash)
req_prop(rd:ResDef, name:Str, props:Hash)
Get resource property, looking up in properties first and then in anchor
Str(rd:ResDef)