Sha256: 18be27fdedc6ec92fa04ad9c31a50deb63e9eb1d62d2605f7681d01063839c0b
Contents?: true
Size: 244 Bytes
Versions: 7
Compression:
Stored size: 244 Bytes
Contents
bean :dao do 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
7 entries across 7 versions & 1 rubygems