class Schema::Constraint
- Schema::Constraint
- Reference
- Object
Included Modules
Defined in:
schema/validation/constraint.crConstructors
Instance Method Summary
Instance methods inherited from module Required
required?(value, other)
required?
Instance methods inherited from module Presence
presence?(value, other)
presence?
Instance methods inherited from module Size
size?(value, size : Int)size?(value, size : Range) size?
Instance methods inherited from module RegularExpression
match?(value : String, regex : Regex)
match?
Instance methods inherited from module LessThanOrEqual
lte?(value : Int, compare : Int)lte?(value : Float, compare : Float)
lte?(value : Time, compare : Time) lte?
Instance methods inherited from module LessThan
lt?(value : Int, compare : Int)lt?(value : Float, compare : Float)
lt?(value : Time, compare : Time) lt?
Instance methods inherited from module Inclusion
in?(value, included : Array)in?(value, included : Range) in?
Instance methods inherited from module GreaterThanOrEqual
gte?(value : Int, compare : Int)gte?(value : Float, compare : Float)
gte?(value : Time, compare : Time) gte?
Instance methods inherited from module GreaterThan
gt?(value : Int, compare : Int)gt?(value : Float, compare : Float)
gt?(value : Time, compare : Time) gt?
Instance methods inherited from module Exclusion
exclude?(value, exclusion : Array)exclude?(value, exclusion : Range) exclude?