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:
parent
60bbdf7d83
commit
4b5a3d7367
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue