Sha256: 87a8495594584fbfbcb790170ceb70a365348afbde92a9b760da35e29b71610f
Contents?: true
Size: 489 Bytes
Versions: 6
Compression:
Stored size: 489 Bytes
Contents
_.def("Luca.app.Instances").extends("Luca.Collection").with name:"instances" refresh:(options={})-> models = _( Luca.registry.instances() ).map (instance)-> cid: instance.cid name: instance.name ctype: instance.ctype displayName: instance.displayName || instance::displayName object: instance @reset(models, options) initialize:(initialModels=[],@options={})-> @model = Luca.app.Instance Luca.Collection::initialize.apply(@,arguments)
Version data entries
6 entries across 6 versions & 1 rubygems