Skip to content

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

class method

URI::MailTo.new

new(*arg)

Description

Creates a new URI::MailTo object from generic URL components with no syntax checking.

This method is usually called from URI::parse, which checks the validity of each component.

See also .build #check_headers #check_to also in 4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0