class Quartz::VerificationErrors
- Quartz::VerificationErrors
- Reference
- Object
Included Modules
- Enumerable({Symbol, String})
Defined in:
quartz/errors.crInstance Method Summary
- #[](attribute)
- #add(attribute : Symbol, message : String)
- #add(attribute : Symbol, *errors : String)
- #clear
-
#each(&)
Must yield this collection's elements to the block.
-
#empty?
Returns
true
ifself
is empty,false
otherwise. - #full_messages
- #include?(attribute : Symbol)
- #messages
-
#size
Returns the number of elements in the collection.
Instance methods inherited from class Reference
==(other : Quartz::Any)
==
Instance methods inherited from class Object
===(other : Quartz::Any)
===
Instance Method Detail
def each(&)
#
Description copied from module Enumerable({Symbol, String})
Must yield this collection's elements to the block.
def empty?
#
Description copied from module Enumerable({Symbol, String})
Returns true
if self
is empty, false
otherwise.
([] of Int32).empty? # => true
([1]).empty? # => false
def size
#
Description copied from module Enumerable({Symbol, String})
Returns the number of elements in the collection.
[1, 2, 3, 4].size # => 4