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

Inherits:
Object
  • Object
show all
Defined in:
lib/bio/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)


174
175
176
# File 'lib/bio/phyloxml/parser.rb', line 174

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