On this page
Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
class · Ruby 4.1
Gem::UriFormatter
The UriFormatter handles URIs from user-input and escaping.
Example
uf = Gem::UriFormatter.new 'example.com' p uf.normalize #=> 'http://example.com'
Class methods 1
Instance methods 3
Attributes