2017-07-09 08:06:36 -04:00
|
|
|
# frozen_string_literal: true
|
2017-07-10 09:39:13 -04:00
|
|
|
|
2012-08-02 12:07:20 -04:00
|
|
|
# This is private interface.
|
|
|
|
#
|
|
|
|
# Rails components cherry pick from Active Support as needed, but there are a
|
2015-04-26 15:38:52 -04:00
|
|
|
# few features that are used for sure in some way or another and it is not worth
|
|
|
|
# putting individual requires absolutely everywhere. Think blank? for example.
|
2012-08-02 12:07:20 -04:00
|
|
|
#
|
|
|
|
# This file is loaded by every Rails component except Active Support itself,
|
|
|
|
# but it does not belong to the Rails public interface. It is internal to
|
|
|
|
# Rails and can change anytime.
|
2012-08-02 12:36:41 -04:00
|
|
|
|
2012-08-02 15:22:06 -04:00
|
|
|
# Defines Object#blank? and Object#present?.
|
2017-06-30 01:00:04 -04:00
|
|
|
require_relative "core_ext/object/blank"
|
2012-08-02 12:44:25 -04:00
|
|
|
|
2012-08-02 12:49:38 -04:00
|
|
|
# Rails own autoload, eager_load, etc.
|
2017-06-30 01:00:04 -04:00
|
|
|
require_relative "dependencies/autoload"
|
2012-08-02 12:51:39 -04:00
|
|
|
|
2012-08-02 15:22:06 -04:00
|
|
|
# Support for ClassMethods and the included macro.
|
2017-06-30 01:00:04 -04:00
|
|
|
require_relative "concern"
|
2012-08-02 15:22:06 -04:00
|
|
|
|
|
|
|
# Defines Class#class_attribute.
|
2017-06-30 01:00:04 -04:00
|
|
|
require_relative "core_ext/class/attribute"
|
2012-08-02 15:25:54 -04:00
|
|
|
|
|
|
|
# Defines Module#delegate.
|
2017-06-30 01:00:04 -04:00
|
|
|
require_relative "core_ext/module/delegation"
|
2012-08-02 15:34:44 -04:00
|
|
|
|
|
|
|
# Defines ActiveSupport::Deprecation.
|
2017-06-30 01:00:04 -04:00
|
|
|
require_relative "deprecation"
|
2016-10-27 03:13:38 -04:00
|
|
|
|
|
|
|
# Defines Regexp#match?.
|
|
|
|
#
|
|
|
|
# This should be removed when Rails needs Ruby 2.4 or later, and the require
|
|
|
|
# added where other Regexp extensions are being used (easy to grep).
|
2017-06-30 01:00:04 -04:00
|
|
|
require_relative "core_ext/regexp"
|