Sha256: 5863f563579c9655cf16b4b35723774b9acf31616f7c4d8db538a42707c99efa

Contents?: true

Size: 354 Bytes

Versions: 6

Compression:

Stored size: 354 Bytes

Contents

class TestAgentConfig

  def reload?
    true
  end

  def agent_names
    data.keys
  end

  def klass_for_name(name)
    data.fetch(name,nil)
  end

  def load!
  end

  def data
    {
      :agent1 => 'TestAgent',
      :agent2 => 'TestAgent',
      :agent3 => 'TestAgent',
      :agent4 => 'TestAgent',
      :agent5 => 'TestAgent'
    }
  end


end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
game_machine-1.0.4 spec/game_systems/agents/test_agent_config.rb
game_machine-1.0.2 spec/game_systems/agents/test_agent_config.rb
game_machine-0.0.11 spec/game_systems/agents/test_agent_config.rb
game_machine-0.0.10 spec/game_systems/agents/test_agent_config.rb
game_machine-0.0.9 spec/game_systems/agents/test_agent_config.rb
game_machine-0.0.8 spec/game_systems/agents/test_agent_config.rb