Sha256: c4a3f1e700c56e5e7e3fc11baaa9d030ffd8c9401ec77c46c2cab5c3345fc05d
Contents?: true
Size: 1.29 KB
Versions: 13
Compression:
Stored size: 1.29 KB
Contents
class AppInitializer < RubyPitaya::InitializerBase # method: run # parameter: initializer_content # attributes: # - bll # - class: RubyPitaya::InstanceHolder # - link: https://gitlab.com/LucianoPC/ruby-pitaya/-/blob/master/lib/rubypitaya/core/instance_holder.rb # - methods: # - add_instance(key, instance) # - add any instance to any key # - [](key) # - get instance by key # - redis # - link: https://github.com/redis/redis-rb/ # - config # - class: RubyPitaya::Config # - link: https://gitlab.com/LucianoPC/ruby-pitaya/-/blob/master/lib/rubypitaya/core/config.rb # - methods: # - [](key) # - get config file by config path # - setup # - class: RubyPitaya::Setup # - link: https://gitlab.com/LucianoPC/ruby-pitaya/-/blob/master/lib/rubypitaya/core/setup.rb # - methods: # - [](key) # - get config file by config path # - log # - class: Logger # - link: https://ruby-doc.org/stdlib-2.6.4/libdoc/logger/rdoc/Logger.html # - methods: # - info # - log information def run(initializer_content) bll = initializer_content.bll playerBll = PlayerBLL.new bll.add_instance(:player, playerBll) end def self.path __FILE__ end end
Version data entries
13 entries across 13 versions & 1 rubygems