Module: Datadog::Core::BackportFrom25

Defined in:
lib/datadog/core/backport.rb

Overview

This module is used to provide features from Ruby 2.5+ to older Rubies

Class Method Summary collapse

Class Method Details

.string_delete_prefix(string, prefix) ⇒ Object



8
9
10
# File 'lib/datadog/core/backport.rb', line 8

def self.string_delete_prefix(string, prefix)
  string.delete_prefix(prefix)
end