lib/valve.js
function(schema, /* optional */ baton) {
  if (! (this instanceof Valve)) {
    return new Valve(schema, baton);
  }
  this.schema = schema;
  this.baton = baton;
}
function(schema, /* optional */ baton) {
  if (! (this instanceof Valve)) {
    return new Valve(schema, baton);
  }
  this.schema = schema;
  this.baton = baton;
}
function ( schema , /* optional */ baton ) { if ( ! ( this instanceof Valve ) ) { return new Valve ( schema , baton ) ; } this . schema = schema ; this . baton = baton ; }
Creates a new Valve object.

@constructor
@param {Object} schema The schema defining the test/conversion rules.
Creates a new Valve object .