Sha256: 065180b77ef041cf39154aa952f48e0e9bc1d40ff55dfce65a978d1deed5e95c
Contents?: true
Size: 485 Bytes
Versions: 11
Compression:
Stored size: 485 Bytes
Contents
require 'just_chess/errors/error' module JustChess # = InvalidMoveError # # An invalid move error with a message class InvalidMoveError < Error # New invalid move errors can be instantiated with # # @option [String] message # the message to display. # # ==== Example: # # Instantiates a new InvalidMoveError # JustChess::InvalidMoveError.new("Custom Message") def initialize(message="Move is invalid.") super end end end
Version data entries
11 entries across 11 versions & 1 rubygems