diff options
author | Norman Clarke <norman@njclarke.com> | 2012-01-05 16:14:39 -0300 |
---|---|---|
committer | Norman Clarke <norman@njclarke.com> | 2012-01-05 16:14:39 -0300 |
commit | 4b5a3d7367ecdfcff1c2ffe1b299a9865d66ab7e (patch) | |
tree | 1038f7c9da260d88ad8c839e52f1c3c6fc2ecbb6 /activesupport | |
parent | 60bbdf7d83a5cc1ee5be053d438fc56172b1ea84 (diff) | |
download | rails-4b5a3d7367ecdfcff1c2ffe1b299a9865d66ab7e.tar.gz rails-4b5a3d7367ecdfcff1c2ffe1b299a9865d66ab7e.tar.bz2 rails-4b5a3d7367ecdfcff1c2ffe1b299a9865d66ab7e.zip |
Remove useless parens
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/multibyte/unicode.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/multibyte/unicode.rb b/activesupport/lib/active_support/multibyte/unicode.rb index 754ca9290b..0197d86adc 100644 --- a/activesupport/lib/active_support/multibyte/unicode.rb +++ b/activesupport/lib/active_support/multibyte/unicode.rb @@ -123,7 +123,7 @@ module ActiveSupport # Example: # Unicode.g_pack(Unicode.g_unpack('क्षि')) # => 'क्षि' def g_pack(unpacked) - (unpacked.flatten).pack('U*') + unpacked.flatten.pack('U*') end # Re-order codepoints so the string becomes canonical. |