Skip to content

End of Life Ruby 3.2 has reached end of life and gets no more fixes. 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.3 · 3.1 · 3.0