提交 6e07658f 编写于 作者: C Carlos Antonio da Silva

Remove manual "return true" from AS::TZ match method

上级 824a58a7
......@@ -239,7 +239,7 @@ def <=>(zone)
# Compare #name and TZInfo identifier to a supplied regexp, returning +true+
# if a match is found.
def =~(re)
return true if name =~ re || MAPPING[name] =~ re
re === name || re === MAPPING[name]
end
# Returns a textual representation of this time zone.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册