class ActionDispatch::Journey::Router::Utils::UriEncoder

def percent_encode(unsafe)

Experimental RBS support (using type sampling data from the type_fusion project).

def percent_encode: (String unsafe) -> String

This signature was generated using 1 sample from 1 application.

def percent_encode(unsafe)
  safe = EMPTY.dup
  unsafe.each_byte { |b| safe << DEC2HEX[b] }
  safe
end