提交 5d58948f 编写于 作者: S Santiago Pastorino

Avoid to_sym calls

上级 f8c8ad56
......@@ -170,7 +170,7 @@ def message
alias_method :status_message, :message
def respond_to?(method)
if method.to_sym == :to_path
if method.to_s == 'to_path'
stream.respond_to?(:to_path)
else
super
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册