Class: Ippon::Validate::Unhalt
Overview
Instance Attribute Summary collapse
- #child ⇒ Schema readonly
Instance Method Summary collapse
-
#initialize(child) ⇒ Unhalt
constructor
A new instance of Unhalt.
-
#process(result) ⇒ Object
Implements the Schema#process interface.
Methods inherited from Schema
#&, #unhalt, #validate, #validate!, #|
Constructor Details
#initialize(child) ⇒ Unhalt
Returns a new instance of Unhalt.
728 729 730 |
# File 'lib/ippon/validate.rb', line 728 def initialize(child) @child = child end |
Instance Attribute Details
#child ⇒ Schema (readonly)
726 727 728 |
# File 'lib/ippon/validate.rb', line 726 def child @child end |
Instance Method Details
#process(result) ⇒ Object
Implements the Schema#process interface.
733 734 735 736 737 |
# File 'lib/ippon/validate.rb', line 733 def process(result) result = @child.process(result) result.unhalt result end |