Class: Funicular::Model::Validations::LengthValidator

Inherits:
EachValidator
  • Object
show all
Defined in:
sig/validations.rbs

Instance Attribute Summary

Attributes inherited from EachValidator

#attributes, #options

Instance Method Summary collapse

Methods inherited from EachValidator

#blank?, #initialize, #kind, #present?, #validate, #validate_each

Constructor Details

This class inherits a constructor from Funicular::Model::Validations::EachValidator

Instance Method Details

#range_include?Boolean

Parameters:

  • range (Object)
  • length (Integer)

Returns:

  • (Boolean)


75
# File 'sig/validations.rbs', line 75

def range_include?: (untyped range, Integer length) -> bool