Method: NewRelic::Agent::RulesEngine::SegmentTermsRule#prefix_matches_on_segment_boundary?
- Defined in:
- lib/new_relic/agent/rules_engine/segment_terms_rule.rb
permalink #prefix_matches_on_segment_boundary?(string) ⇒ Boolean
45 46 47 48 |
# File 'lib/new_relic/agent/rules_engine/segment_terms_rule.rb', line 45 def prefix_matches_on_segment_boundary?(string) string.size > @prefix.size && string[@prefix.chomp(SEGMENT_SEPARATOR).size].chr == SEGMENT_SEPARATOR end |