Net::NNTP accesses private methods?

  • Thread starter Just Another Victim of the Ambient Morality
  • Start date
J

Just Another Victim of the Ambient Morality

I'm trying out Net::NNTP and it's accessing a private method on line
375:


@socket = InternetMessageIo_Open(@address, @port, @open_timeout,
@read_timeout, @debug_output)


InternetMessageIO is not defined anywhere in the file, so I assume that
it's defined somewhere up from:


require 'net/protocol'
require 'digest/md5'


...probably from net/protocol. This naturally brings up the question,
did this ever work? Was this written for a previous version of Ruby where
this method was public? What's going on, here?
If someone can explain this situation to me, I'd greatly appreciate! If
the only answer you have is to use another library, please mention what that
library is!
Thank you...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,270
Messages
2,571,352
Members
48,037
Latest member
BettinaArn

Latest Threads

Top