Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
URI::MailTo#set_headers
set_headers(v)
lib/uri/mailto.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/uri/mailto.rb, line 221
def set_headers(v)
@headers = []
if v
v.split('&').each do |x|
@headers << x.split(/=/, 2)
end
end
end
Private setter for headers v.