Class: Skylight::Normalizers::Default Private
- Defined in:
- lib/skylight/normalizers/default.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
Instance Method Details
#normalize(trace, name, payload) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/skylight/normalizers/default.rb', line 5 def normalize(trace, name, payload) if name =~ TIER_REGEX annot = payload.dup [ name, annot.delete(:title), annot.delete(:description), annot ] else :skip end end |