Sha256: 216516a3d117c84da9f1cc59798e30268bff0f933b7b88d01c637441e38b9a69
Contents?: true
Size: 537 Bytes
Versions: 9
Compression:
Stored size: 537 Bytes
Contents
require 'just_checkers/errors/error' module JustCheckers # = PieceMustCaptureError # # A piece must capture error with a message class PieceMustCaptureError < Error # New piece must capture errors can be instantiated with # # @option [String] message # the x co-ordinate. # # ==== Example: # # Instantiates a new PieceMustCaptureError # JustCheckers::PieceMustCaptureError.new("Custom Message") def initialize(message="Another piece must capture first.") super end end end
Version data entries
9 entries across 9 versions & 1 rubygems