module FEEN::Dumper::Turn

The turn module.

Public Class Methods

dump(side_id) click to toggle source

@param side_id [Integer] The identifier of the active player.

@example Dump the number that identify the player who have to play

dump(0) # => "0"

@return [String] The number that identify the player who have to play.

# File lib/feen/dumper/turn.rb, line 13
def self.dump(side_id)
  String(side_id)
end