提交 628a23cd 编写于 作者: A Aaron Patterson

remove dead code

This method isn't used internally, isn't tested, isn't documented.  We
should delete it.
上级 6ac882bb
......@@ -1671,18 +1671,6 @@ def nested_scope? #:nodoc:
@scope.nested?
end
def with_exclusive_scope
begin
@scope = @scope.new(:as => nil, :path => nil)
with_scope_level(:exclusive) do
yield
end
ensure
@scope = @scope.parent
end
end
def with_scope_level(kind)
@scope = @scope.new_level(kind)
yield
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册