FuncSpec:
Filter:
Classes (extension) | MethodControllerQuark

FuncSpec
ExtensionExtension

a Spec that can be anything
Location: NOT INSTALLED!

Description

A Spec is basically an Object that translates data ( map/unmap), secures that the data fits a specification (constrain). This Spec holds functions to enact these duties.

Class Methods

.new

Creates a FuncSpec

Arguments:

mapFunc

a Function to be called on map

unmapFunc

a Function to be called on unmap

constrainFunc

a Function to be called on constrain

defaultFunc

a Function to be called on default

Returns:

a FuncSpec

Inherited class methods

Instance Methods

The instance methods are the most important of ControlSpec

Inherited instance methods

Examples

A simple example that could be also with a ControlSpec