public function rule_between($a)
{
$min = $this->pullRule(true);
$max = $this->pullRule(true);
if (is_numeric($a)) {
if ($a < $min || $a > $max) {
return $this->fail('must be between {{arg1}} and {{arg2}}', $min, $max);
}
} else {
return $this->fail('Must be a numeric value');
}
}