Class: Bio::PhyloXML::Parser::ClosedPhyloXMLParser

Inherits:
Object
  • Object
show all
Defined in:
lib/bio/db/phyloxml/phyloxml_parser.rb

Overview

Special class for closed PhyloXML::Parser object. It raises error for any methods except essential methods.

Bio::PhyloXML internal use only.

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(*arg) ⇒ Object

:nodoc:

Raises:

  • (LibXML::XML::Error)

140
141
142
# File 'lib/bio/db/phyloxml/phyloxml_parser.rb', line 140

def method_missing(*arg)
  raise LibXML::XML::Error, 'closed PhyloXML::Parser object'
end