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

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