Module: RationalChoice

Defined in:
lib/rational_choice.rb

Overview

Tiny fuzzy-logic gate for making choices based on a continuum of permitted values as opposed to a hard condition.

Defined Under Namespace

Classes: Dimension, ManyDimensions

Constant Summary collapse

VERSION =
'2.1.0'
CardinalityError =

Gets raised when a multidimensional choice has to be made with a wrong number of values versus the number of dimensions

Class.new(ArgumentError)
DomainError =

Gets raised when a dimension has to be created with the same parameters

Class.new(ArgumentError)