Use Ruby's #include? to avoid relying on AS extension
The build has failed when running the date/time ext tests in isolation due to the missing extension, so better than adding a require is using just Ruby in this case. https://travis-ci.org/rails/rails/jobs/46107954#L1077
Showing
想要评论请 注册 或 登录