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

Version Path
rubypitaya-2.2.0 ./lib/rubypitaya/app-template/app/app_initializer.rb
rubypitaya-2.1.0 ./lib/rubypitaya/app-template/app/app_initializer.rb
rubypitaya-2.0.0 ./lib/rubypitaya/app-template/app/app_initializer.rb
rubypitaya-1.8.2 ./lib/rubypitaya/app-template/app/app_initializer.rb
rubypitaya-1.8.1 ./lib/rubypitaya/app-template/app/app_initializer.rb
rubypitaya-1.8.0 ./lib/rubypitaya/app-template/app/app_initializer.rb
rubypitaya-1.7.2 ./lib/rubypitaya/app-template/app/app_initializer.rb
rubypitaya-1.7.1 ./lib/rubypitaya/app-template/app/app_initializer.rb
rubypitaya-1.7.0 ./lib/rubypitaya/app-template/app/app_initializer.rb
rubypitaya-1.6.2 ./lib/rubypitaya/app-template/app/app_initializer.rb
rubypitaya-1.6.1 ./lib/rubypitaya/app-template/app/app_initializer.rb
rubypitaya-1.6.0 ./lib/rubypitaya/app-template/app/app_initializer.rb
rubypitaya-1.5.0 ./lib/rubypitaya/app-template/app/app_initializer.rb
rubypitaya-1.4.1 ./lib/rubypitaya/app-template/app/app_initializer.rb
rubypitaya-1.4.0 ./lib/rubypitaya/app-template/app/app_initializer.rb
rubypitaya-1.3.1 ./lib/rubypitaya/app-template/app/app_initializer.rb
rubypitaya-1.3.0 ./lib/rubypitaya/app-template/app/app_initializer.rb
rubypitaya-1.2.9 ./lib/rubypitaya/app-template/app/app_initializer.rb
rubypitaya-1.2.7 ./lib/rubypitaya/app-template/app/app_initializer.rb
rubypitaya-1.1.0 ./lib/rubypitaya/app-template/app/app_initializer.rb