Class: LIVR::Rules::Modifiers::ToUc
- Inherits:
-
LIVR::Rule
- Object
- LIVR::Rule
- LIVR::Rules::Modifiers::ToUc
- 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
34 35 36 37 38 |
# File 'lib/livr/rules/modifiers.rb', line 34 def call(value, user_data, field_results) return if is_no_value(value) || value.is_a?(Hash) field_results << value.to_s.upcase return end |