method
included
rails latest stable - Class:
ActiveSupport::CoreExtensions::String::StartsEndsWith
included(base)public
No documentation available.
# File activesupport/lib/active_support/core_ext/string/starts_ends_with.rb, line 6
def self.included(base)
base.class_eval do
alias_method :start_with?, :starts_with?
alias_method :end_with?, :ends_with?
end
end