Class: Raven::Processor::UTF8Conversion
- Inherits:
-
Raven::Processor
- Object
- Raven::Processor
- Raven::Processor::UTF8Conversion
- Defined in:
- lib/raven/processor/utf8conversion.rb
Instance Method Summary collapse
Methods inherited from Raven::Processor
Constructor Details
This class inherits a constructor from Raven::Processor
Instance Method Details
#process(value) ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/raven/processor/utf8conversion.rb', line 4 def process(value) if value.is_a? Array value.map { |v_| process v_ } elsif value.is_a? Hash value.merge(value) { |k, v_| process v_ } else clean_invalid_utf8_bytes(value) end end |