Class: ScopedSearch::Validators

Inherits:
Object
  • Object
show all
Defined in:
lib/scoped_search/validators.rb

Overview

This class will be used to store standard validators.

Constant Summary collapse

NUMERIC =
->(value) { !!(value =~ ScopedSearch::Definition::NUMERICAL_REGXP) }
INTEGER =
->(value) { !!(value =~ ScopedSearch::Definition::INTEGER_REGXP) }