1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove useless parens

This commit is contained in:
Norman Clarke 2012-01-05 16:14:39 -03:00
parent 60bbdf7d83
commit 4b5a3d7367

View file

@ -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.