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