Skip to content

struct Athena::Validator::Constraints::GreaterThanOrEqual::Validator
inherits Athena::Validator::Constraints::ComparisonValidator #

Methods#

#compare_values(actual : Number, expected : Number) : Bool #

View source

#compare_values(actual : String, expected : String) : Bool #

View source

#compare_values(actual : Time, expected : Time) : Bool #

View source

#compare_values(actual : _, expected : _) : NoReturn #

Returns true if the provided actual and expected values are compatible, otherwise false.

View source

#error_code : String #

Returns the expected error code for self.

View source