Predicate methods don't need to return `true` / `false`

上级 11338183
......@@ -779,7 +779,7 @@ def version
end
def mariadb?
!!(full_version =~ /mariadb/i)
full_version =~ /mariadb/i
end
def supports_views?
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册