Top Level Namespace
Defined Under Namespace
Modules: Auditable, GameTurn, PLayable, StudioGame
Instance Method Summary collapse
Instance Method Details
#conversation ⇒ Object
1 2 3 4 5 |
# File 'lib/studio_game/iterators.rb', line 1 def conversation puts "Hello" yield puts "Goodbye" end |
#n_times(rounds) ⇒ Object
9 10 11 12 13 |
# File 'lib/studio_game/iterators.rb', line 9 def n_times(rounds) 1.upto(rounds) do |count| yield count end end |