Class: Azuma::Core
Instance Method Summary collapse
-
#initialize(talkers) ⇒ Core
constructor
A new instance of Core.
- #next_talker ⇒ Object
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_talker ⇒ Object
7 8 9 |
# File 'lib/azuma/core.rb', line 7 def next_talker @talkers.pop end |