class JustGo::PointNotEmptyError

PointNotEmptyError

A point not empty error with a message

Public Class Methods

new(message="Point is not empty") click to toggle source

New not players turn errors can be instantiated with

@option [String] message

the message to display.

Example:

# Instantiates a new PointNotEmptyError
JustGo::PointNotEmptyError.new("Custom Message")
Calls superclass method JustGo::Error::new
# File lib/just_go/errors/point_not_empty_error.rb, line 18
def initialize(message="Point is not empty") 
  super
end