Sha256: fec59698d151a1c22a537c7e609afa1741b5f2b243edcd98b26384f95acaf87e
Contents?: true
Size: 520 Bytes
Versions: 11
Compression:
Stored size: 520 Bytes
Contents
require 'just_chess/errors/error' module JustChess # = NotPlayersTurnError # # A not players turn error with a message class NotPlayersTurnError < Error # New not players turn errors can be instantiated with # # @option [String] message # the message to display. # # ==== Example: # # Instantiates a new NotPlayersTurnError # JustChess::NotPlayersTurnError.new("Custom Message") def initialize(message="It is not the player's turn yet.") super end end end
Version data entries
11 entries across 11 versions & 1 rubygems