Funicular::Model::Validations::EachValidator class of PicoRuby
Singleton methods
new
Funicular::Model::Validations::EachValidator.new(attributes: Array[Symbol], **untyped options) -> void
Instance methods
blank?
instance.blank?(untyped value) -> bool
kind
instance.kind() -> Symbol
present?
instance.present?(untyped value) -> bool
validate
instance.validate(untyped record) -> void
validate_each
instance.validate_each(untyped record, Symbol attribute, untyped value) -> void
Attr accessors
attributes (reader)
instance.attributes -> Array[Symbol]
options (reader)
instance.options -> Hash[Symbol, untyped]