Update actionpack/lib/action_dispatch/journey/router/utils.rb

Co-authored-by: Rafael França <rafael@franca.dev>
This commit is contained in:
Matheus Richard 2021-02-04 14:07:34 -03:00 committed by GitHub
parent 4ea64630aa
commit 96b4a56dd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ module ActionDispatch
US_ASCII = Encoding::US_ASCII
UTF_8 = Encoding::UTF_8
EMPTY = (+"").force_encoding(US_ASCII).freeze
DEC2HEX = (0..255).map { |i| (ENCODE % i).force_encoding(US_ASCII) }.freeze
DEC2HEX = (0..255).map { |i| (ENCODE % i).force_encoding(US_ASCII) }
ALPHA = "a-zA-Z"
DIGIT = "0-9"