Class: Azuma::Core

Inherits:
Object
  • Object
show all
Defined in:
lib/azuma/core.rb

Instance Method Summary collapse

Constructor Details

#initialize(talkers) ⇒ Core

Returns a new instance of Core.


3
4
5
# File 'lib/azuma/core.rb', line 3

def initialize(talkers)
  @talkers = talkers.shuffle
end

Instance Method Details

#next_talkerObject


7
8
9
# File 'lib/azuma/core.rb', line 7

def next_talker
  @talkers.pop
end