General

Profile

primerano (Tony Primerano)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

01/05/2012

12:43 AM Ruby Bug #5840: URI::MailTo.build - 2 of 3 examples fail on 1.9.2/1.93
looking at the code it appears the header items should be a hash instead of an array. It makes for a nicer read
m3 = URI::MailTo.build({:to => 'listman@example.com', :headers => {'subject' => 'subscribe', 'body' => 'welcome'}})
=>...
primerano (Tony Primerano)
12:26 AM Ruby Bug #5840 (Closed): URI::MailTo.build - 2 of 3 examples fail on 1.9.2/1.93
The array examples of URI::MailTo.build in the documentation fail on 1.9
http://www.ruby-doc.org/stdlib-1.9.3/libdoc/uri/rdoc/URI/MailTo.html
ex
ruby-1.9.3-preview1 :003 > m2 = URI::MailTo.build(['john@example.com', [['Subject', '...
primerano (Tony Primerano)

Also available in: Atom