Class: Picky::NewRelic
- Inherits:
-
Object
- Object
- Picky::NewRelic
- Defined in:
- lib/rpm_contrib/instrumentation/picky.rb
Class Method Summary collapse
Class Method Details
.obfuscate_tokens(tokens) ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/rpm_contrib/instrumentation/picky.rb', line 4 def self.obfuscate_tokens tokens tokens.map { |t| o = 'xxx' o += '~' if t.similar? o += '*' if t.partial? o = t.qualifiers.sort.join(',') + ':' + o if t.qualifiers && t.qualifiers.respond_to?(:join) o }.sort.join(' ') end |