Skip to content
class method

URI::MailTo.new

(::String? scheme, ::String? userinfo, ::String? host, (::String | ::Integer)? port, nil registry, ::String? path, ::String? opaque, ::String? query, ::String? fragment, ?untyped parser, ?::boolish arg_check) -> ::URI::MailTo
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 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0