Sha256: 3df07bce7ddd2e73392d30096fb69485c7e02d469d5268257c240f631675f9a8
Contents?: true
Size: 442 Bytes
Versions: 8
Compression:
Stored size: 442 Bytes
Contents
module JustBackgammon # = BearOffError # # A bear off error with a message class BearOffError # A new instance of BearOffError. # # @option [String] message # the message. # # ==== Example: # # Instantiates a new BearOffError # JustBackgammon::BearOffError.new("Custom Message") def initialize(message="Cannot bear off while pieces are not home.") @message = message end end end
Version data entries
8 entries across 8 versions & 1 rubygems