On Sep 4, 2:41 pm, adrianopol <[email protected]> wrote:

> read_xml.rb:40:in `load_tasks': uninitialized constant
> LibXML::XML::Parser::ParseError (NameError)
>         from read_xml.rb:71
>
> Question: why does ruby interpret XML::Parser::ParseError in rescue-
> clause as LibXML::XML::Parser::ParseError?

because the top level constant XML is LibXML::XML (check their
object_id )

Fred

> Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to