method

included

rails latest stable - Class: ActiveSupport::CoreExtensions::String::StartsEndsWith

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.0.3) is shown here.

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