aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2016-07-22 00:31:09 +0200
committerXavier Noria <fxn@hashref.com>2016-07-22 00:31:09 +0200
commit21c6f810ac9beb92cd99aeb07aba2a81c11f1ab0 (patch)
tree86e5ee3120fdf20a7120e537d5b39cc2d3660664 /activesupport/lib
parent9256bbbbd75361694817b409b2ad4644be194cad (diff)
downloadrails-21c6f810ac9beb92cd99aeb07aba2a81c11f1ab0.tar.gz
rails-21c6f810ac9beb92cd99aeb07aba2a81c11f1ab0.tar.bz2
rails-21c6f810ac9beb92cd99aeb07aba2a81c11f1ab0.zip
revises style
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/core_ext/regexp.rb2
1 files changed, 1 insertions, 1 deletions
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