Method: Bandit::BasePlayer#initialize
- Defined in:
- lib/bandit/players/base.rb
#initialize(config) ⇒ BasePlayer
Returns a new instance of BasePlayer.
13 14 15 16 |
# File 'lib/bandit/players/base.rb', line 13 def initialize(config) @config = config @storage = Bandit.storage end |