Class: WorkflowTemplate::Adapters::Validation::Generic::Block
- Inherits:
-
Validator
- Object
- Validator
- WorkflowTemplate::Adapters::Validation::Generic::Block
- Defined in:
- lib/workflow_template/adapters/validation/generic/block.rb
Instance Method Summary collapse
-
#initialize(block) ⇒ Block
constructor
A new instance of Block.
Methods inherited from Validator
Methods included from Validation::Adapter::Abstract::Validator
Constructor Details
#initialize(block) ⇒ Block
Returns a new instance of Block.
10 11 12 13 |
# File 'lib/workflow_template/adapters/validation/generic/block.rb', line 10 def initialize(block) @block = block super() end |