提交 b2de3f72 编写于 作者: A Andy Lindeman

Fixes NoMethodError: `alias_method_chain` when requiring just active_support/core_ext

* Each file that uses `alias_method_chain` brings it in explicitly
上级 42da93ca
require 'active_support/core_ext/module/aliasing'
module Marshal
class << self
def load_with_autoloading(source)
......
require 'active_support/core_ext/module/aliasing'
class Range
# Extends the default Range#include? to support range comparisons.
# (1..5).include?(1..5) # => true
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册