Class: MockZombieList
- Inherits:
-
ZombieList
- Object
- ZombieList
- MockZombieList
- Defined in:
- lib/zombie-chaser/human.rb
Class Method Summary collapse
Methods inherited from ZombieList
#draw_zombies, #each_zombie, #initialize, new_using_test_unit_handler, #supply_next_zombie
Constructor Details
This class inherits a constructor from ZombieList
Class Method Details
.new_using_results(zombies_results, world) ⇒ Object
243 244 245 246 |
# File 'lib/zombie-chaser/human.rb', line 243 def self.new_using_results(zombies_results, world) mock_zombie_factory = MockZombieFactory.new(zombies_results, world) new(mock_zombie_factory) end |