aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/number_helper.rb
diff options
context:
space:
mode:
authorkenta-s <knt01222@gmail.com>2017-01-31 20:13:02 +0900
committerkenta-s <knt01222@gmail.com>2017-01-31 20:13:03 +0900
commit20435f35474658cf0b1eb9d2fafceb733b8944b7 (patch)
tree02db175734cc7af01f1a39c0f982981e787bbbba /activesupport/lib/active_support/number_helper.rb
parent505463c859927408665ce141426f098fea303a4e (diff)
downloadrails-20435f35474658cf0b1eb9d2fafceb733b8944b7.tar.gz
rails-20435f35474658cf0b1eb9d2fafceb733b8944b7.tar.bz2
rails-20435f35474658cf0b1eb9d2fafceb733b8944b7.zip
Remove redundant right parentheses in number_helper [ci skip]
Diffstat (limited to 'activesupport/lib/active_support/number_helper.rb')
-rw-r--r--activesupport/lib/active_support/number_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/number_helper.rb b/activesupport/lib/active_support/number_helper.rb
index da4e91e949..880340ca86 100644
--- a/activesupport/lib/active_support/number_helper.rb
+++ b/activesupport/lib/active_support/number_helper.rb
@@ -45,7 +45,7 @@ module ActiveSupport
#
# number_to_phone(75561234567, pattern: /(\d{1,4})(\d{4})(\d{4})$/, area_code: true)
# # => "(755) 6123-4567"
- # number_to_phone(13312345678, pattern: /(\d{3})(\d{4})(\d{4})$/))
+ # number_to_phone(13312345678, pattern: /(\d{3})(\d{4})(\d{4})$/)
# # => "133-1234-5678"
def number_to_phone(number, options = {})
NumberToPhoneConverter.convert(number, options)