Sha256: a7c418757955ed97549c0a3552c8bf1a7626915d17084ce00f88644d1a4eb480
Contents?: true
Size: 518 Bytes
Versions: 10
Compression:
Stored size: 518 Bytes
Contents
require 'just_go/errors/error' module JustGo # = KoRuleViolationError # # A not players turn error with a message class KoRuleViolationError < Error # New not players turn errors can be instantiated with # # @option [String] message # the message to display. # # ==== Example: # # Instantiates a new KoRuleViolationError # JustGo::KoRuleViolationError.new("Custom Message") def initialize(message="Move puts board in previous state") super end end end
Version data entries
10 entries across 10 versions & 1 rubygems