Class: Marko::Validator
- Inherits:
-
Object
- Object
- Marko::Validator
- Extended by:
- Pluggable
- Defined in:
- lib/marko/validator.rb
Overview
The strategy of tree validation
Direct Known Subclasses
Instance Method Summary collapse
-
#call(tree, &block) ⇒ Array<String>
Errors array.
Methods included from Pluggable
Instance Method Details
#call(tree, &block) ⇒ Array<String>
Returns errors array.
14 15 16 |
# File 'lib/marko/validator.rb', line 14 def call(tree, &block) fail "the abstract method must be overriden" end |