提交 698312de 编写于 作者: J Jeremy Kemper

Delegate #encoding to SafeBuffer too

上级 b2737677
......@@ -41,6 +41,10 @@ def html_safe?
end
if "".respond_to?(:force_encoding)
def encoding
@buffer.encoding
end
def force_encoding(encoding)
@buffer.force_encoding(encoding)
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册