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_roundObject



26
# File 'lib/ankit/round_command.rb', line 26

def last_round; @last_round ||= RoundCommand.new(self.runtime).last_round; end

#latest_roundObject



28
# File 'lib/ankit/round_command.rb', line 28

def latest_round; last_round + 1; end

#next_roundObject



27
# File 'lib/ankit/round_command.rb', line 27

def next_round; @next_round ||= RoundCommand.new(self.runtime).next_round; end

#round_proceededObject



29
# File 'lib/ankit/round_command.rb', line 29

def round_proceeded; @last_round = @next_round = nil; end