From 4b5a3d7367ecdfcff1c2ffe1b299a9865d66ab7e Mon Sep 17 00:00:00 2001 From: Norman Clarke Date: Thu, 5 Jan 2012 16:14:39 -0300 Subject: Remove useless parens --- activesupport/lib/active_support/multibyte/unicode.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib') 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. -- cgit v1.2.3