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

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


175
176
177
# File 'lib/bio-phyloxml/phyloxml_parser.rb', line 175

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