Class: LIVR::Rules::Common::AnyObject
- Inherits:
-
LIVR::Rule
- Object
- LIVR::Rule
- LIVR::Rules::Common::AnyObject
- Defined in:
- lib/livr/rules/common.rb
Instance Method Summary collapse
Methods inherited from LIVR::Rule
Constructor Details
This class inherits a constructor from LIVR::Rule
Instance Method Details
#call(value, user_data, field_results) ⇒ Object
27 28 29 30 |
# File 'lib/livr/rules/common.rb', line 27 def call(value, user_data, field_results) return if is_no_value(value) return "FORMAT_ERROR" unless value.is_a?(Hash) end |