Permalink
Browse files

Remove useless parens

  • Loading branch information...
norman committed Jan 5, 2012
1 parent 60bbdf7 commit 4b5a3d7367ecdfcff1c2ffe1b299a9865d66ab7e
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/multibyte/unicode.rb
@@ -123,7 +123,7 @@ def g_unpack(string)
# 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.

0 comments on commit 4b5a3d7

Please sign in to comment.