Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove not used variable warning

  • Loading branch information...
commit ba6b243b61a5a67be1855c05340de14eca966e27 1 parent 871a7db
@carlosantoniodasilva carlosantoniodasilva authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activesupport/lib/active_support/multibyte/chars.rb
View
2  activesupport/lib/active_support/multibyte/chars.rb
@@ -437,7 +437,7 @@ def translate_offset(byte_offset) #:nodoc:
begin
@wrapped_string[0...byte_offset].unpack('U*').length
- rescue ArgumentError => e
+ rescue ArgumentError
byte_offset -= 1
retry
end
Please sign in to comment.
Something went wrong with that request. Please try again.