Sha256: 1522fdf531288d0bf1c02ed95c50936c094b67d9043acaf51e955ebc528b4019
Contents?: true
Size: 258 Bytes
Versions: 17
Compression:
Stored size: 258 Bytes
Contents
class AdminsDAO include SmartIoC::Iocify bean :dao, instance: false inject :config @data = {} class << self def insert(entity) config.app_name @data[entity.id] = entity end def get(id) @data[id] end end end
Version data entries
17 entries across 17 versions & 1 rubygems