From 21c6f810ac9beb92cd99aeb07aba2a81c11f1ab0 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Fri, 22 Jul 2016 00:31:09 +0200 Subject: revises style --- activesupport/lib/active_support/core_ext/regexp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activesupport/lib/active_support/core_ext/regexp.rb b/activesupport/lib/active_support/core_ext/regexp.rb index d9cff52050..062d568228 100644 --- a/activesupport/lib/active_support/core_ext/regexp.rb +++ b/activesupport/lib/active_support/core_ext/regexp.rb @@ -4,6 +4,6 @@ class Regexp #:nodoc: end def match?(string, pos=0) - !! match(string, pos) + !!match(string, pos) end unless //.respond_to?(:match?) end -- cgit v1.2.3