Skip to content

Commit

Permalink
Remove useless parens
Browse files Browse the repository at this point in the history
  • Loading branch information
norman committed Jan 5, 2012
1 parent 60bbdf7 commit 4b5a3d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activesupport/lib/active_support/multibyte/unicode.rb
Expand Up @@ -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.
Expand Down

0 comments on commit 4b5a3d7

Please sign in to comment.