Sha256: 1e0078b650937c41891924195be66e904c4af4282c994743620dfc64e7727470
Contents?: true
Size: 528 Bytes
Versions: 20
Compression:
Stored size: 528 Bytes
Contents
class AppInitializer < RubyPitaya::InitializerBase # method: run # parameter: initializer_content # attributes: # - bll # - class: InstanceHolder # - methods: # - add_instance(key, instance) # - add any instance to any key # - [](key) # - get instance by key # - redis # - link: https://github.com/redis/redis-rb/ def run(initializer_content) bll = initializer_content.bll playerBll = PlayerBLL.new bll.add_instance(:player, playerBll) end end
Version data entries
20 entries across 20 versions & 1 rubygems