Sha256: b9b51667d8b197e64dceea3abc3b2018c2b7a26842091cbad4eb81c3af28dc84
Contents?: true
Size: 476 Bytes
Versions: 8
Compression:
Stored size: 476 Bytes
Contents
module JustBackgammon # = NotPlayersTurnError # # A not player's turn error with a message class NotPlayersTurnError # A new instance of NotPlayersTurnError. # # @option [String] message # the message. # # ==== Example: # # Instantiates a new NotPlayersTurnError # JustBackgammon::NotPlayersTurnError.new("Custom Message") def initialize(message="It is not the player's turn yet.") @message = message end end end
Version data entries
8 entries across 8 versions & 1 rubygems