Sha256: 96e4ec129cb3974e733de4ee8b9caf4d89e1bb4a1fb30a3ac3f71c8f005df60b
Contents?: true
Size: 524 Bytes
Versions: 9
Compression:
Stored size: 524 Bytes
Contents
require 'just_checkers/errors/error' module JustCheckers # = 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 x co-ordinate. # # ==== Example: # # Instantiates a new NotPlayersTurnError # JustCheckers::NotPlayersTurnError.new("Custom Message") def initialize(message="It is not the player's turn yet.") super end end end
Version data entries
9 entries across 9 versions & 1 rubygems