Maintenance Ruby 3.3 gets fixes, but no new features. 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-3.3.0/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.