What happened to Net::HTTP::Options?


#1

I’m running ruby 1.8.6 (2007-03-13 patchlevel 0)

I had written a script previously that used Net::HTTP::Options, but now
after upgrading ruby my script no longer works.

undefined method `options’ for #<Net::HTTP

from /usr/lib/ruby/1.8/net/http.rb:324:in `start’

I looked online at http://www.ruby-doc.org/stdlib/ and the documentation
is
still there, so I proceeded to search all the forums on ruby-forum.com
to no
avail. No mention of the removal of this method or anything else of
use.

I really like ruby’s core functionality and syntax, but after the large
amount of documentation issues I have run into I foresee myself having
to
switch over to python or perl after I finish my current project. It
really
troubles me to do this after how much time and money I’ve invested into
educating my self on this language. Why so much hype, and so many books
produced when the language isn’t being maintained? Am I missing
something
here? I hope that this forum can point me in the right direction to
save me
from resorting to a language migration.

  • Nathan