Module: Bridgetown::Foundation::CoreExt::String::StartsWithAndEndsWith
- Defined in:
- bridgetown-foundation/lib/bridgetown/foundation/core_ext/string.rb
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
29 30 31 32 |
# File 'bridgetown-foundation/lib/bridgetown/foundation/core_ext/string.rb', line 29 def self.included(klass) klass.alias_method :starts_with?, :start_with? klass.alias_method :ends_with?, :end_with? end |