Class: Mjai::TCPActiveGameServer::Statistics

Inherits:
Struct
  • Object
show all
Defined in:
lib/mjai/tcp_active_game_server.rb

Instance Attribute Summary collapse

Instance Attribute Details

#num_gamesObject

Returns the value of attribute num_games

Returns:

  • (Object)

    the current value of num_games



11
12
13
# File 'lib/mjai/tcp_active_game_server.rb', line 11

def num_games
  @num_games
end

#ranksObject

Returns the value of attribute ranks

Returns:

  • (Object)

    the current value of ranks



11
12
13
# File 'lib/mjai/tcp_active_game_server.rb', line 11

def ranks
  @ranks
end

#total_rankObject

Returns the value of attribute total_rank

Returns:

  • (Object)

    the current value of total_rank



11
12
13
# File 'lib/mjai/tcp_active_game_server.rb', line 11

def total_rank
  @total_rank
end

#total_scoreObject

Returns the value of attribute total_score

Returns:

  • (Object)

    the current value of total_score



11
12
13
# File 'lib/mjai/tcp_active_game_server.rb', line 11

def total_score
  @total_score
end