API Docs for: 0.1.0

Class gabarito.GrabberMatcher

Uses: gabarito.Grabber
Extends: gabarito.Matcher
Class defined in: lib/gabarito.js:1048

Matcher that always passes and stores the passed value for later use.

Index

Methods

Error error( value, [position] )
Defined in gabarito.Matcher: lib/gabarito.js:864

Returns the Error instance with the formatted message using the argument's position and the argument itself.

Parameters:
  • value <Mixed>
  • [position] <Number>

Returns: <Error>
Mixed grab( )
Defined in gabarito.Grabber: yuidoc-extras/Grabber.js:8

Returns the stored value


Returns: <Mixed>
Boolean matches( value )
Defined in gabarito.Matcher: lib/gabarito.js:849

The matcher method should evaluate the matcher function and tell whether the value matches the criteria.

Parameters:
  • value <Mixed>

Returns: <Boolean>