Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove useless parens

  • Loading branch information...
commit 4b5a3d7367ecdfcff1c2ffe1b299a9865d66ab7e 1 parent 60bbdf7
Norman Clarke norman authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activesupport/lib/active_support/multibyte/unicode.rb
2  activesupport/lib/active_support/multibyte/unicode.rb
View
@@ -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.
Please sign in to comment.
Something went wrong with that request. Please try again.