Class: LIVR::Rules::Modifiers::ToLc
- Inherits:
-
LIVR::Rule
- Object
- LIVR::Rule
- LIVR::Rules::Modifiers::ToLc
- Defined in:
- lib/livr/rules/modifiers.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
26 27 28 29 30 |
# File 'lib/livr/rules/modifiers.rb', line 26 def call(value, user_data, field_results) return if is_no_value(value) || value.is_a?(Hash) field_results << value.to_s.downcase return end |