Class: Vanguard::Rule::Nullary::Attribute::Presence

Inherits:
Vanguard::Rule::Nullary::Attribute show all
Defined in:
lib/vanguard/rule/nullary/attribute/presence.rb

Overview

Rule for testing attribute presance

Constant Summary collapse

TYPE =
:presence
MATCHER =
Matcher::Unary::NOT.new(Matcher::Nullary::BLANK)

Instance Attribute Summary

Attributes inherited from Vanguard::Rule::Nullary::Attribute

#attribute_name, #matcher

Method Summary

Methods inherited from Vanguard::Rule::Nullary

builder, #type

Methods inherited from Vanguard::Rule

#evaluate, #evaluator, #violations