Module: Ankit::RoundCounting
- Included in:
- CardHappening, Challenge::Progress, ChallengeCommand, ComingCommand
- Defined in:
- lib/ankit/round_command.rb
Instance Method Summary collapse
Instance Method Details
#last_round ⇒ Object
26 |
# File 'lib/ankit/round_command.rb', line 26 def last_round; @last_round ||= RoundCommand.new(self.runtime).last_round; end |
#latest_round ⇒ Object
28 |
# File 'lib/ankit/round_command.rb', line 28 def latest_round; last_round + 1; end |
#next_round ⇒ Object
27 |
# File 'lib/ankit/round_command.rb', line 27 def next_round; @next_round ||= RoundCommand.new(self.runtime).next_round; end |
#round_proceeded ⇒ Object
29 |
# File 'lib/ankit/round_command.rb', line 29 def round_proceeded; @last_round = @next_round = nil; end |