提交 e9980f17 编写于 作者: A Aaron Patterson

just call methods on return value of `load_target`

上级 bc993c69
......@@ -150,17 +150,12 @@ def target=(target)
# Forwards the call to the target. Loads the \target if needed.
def inspect
load_target
@target.inspect
load_target.inspect
end
def send(method, *args)
if respond_to?(method)
super
else
load_target
@target.send(method, *args)
end
return super if respond_to?(method)
load_target.send(method, *args)
end
def scoped
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册