diff options
Diffstat (limited to 'activesupport/lib/active_support/core_ext/string/starts_ends_with.rb')
-rw-r--r-- | activesupport/lib/active_support/core_ext/string/starts_ends_with.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/core_ext/string/starts_ends_with.rb b/activesupport/lib/active_support/core_ext/string/starts_ends_with.rb index f072fbf7d7..919eb7a573 100644 --- a/activesupport/lib/active_support/core_ext/string/starts_ends_with.rb +++ b/activesupport/lib/active_support/core_ext/string/starts_ends_with.rb @@ -1,4 +1,5 @@ # frozen_string_literal: true + class String alias_method :starts_with?, :start_with? alias_method :ends_with?, :end_with? |