Class: Bio::Hinv::Hit2acc
Overview
serv = Bio::Hinv::Hit2acc.new serv.query(“hit” => “HIT000022181”) puts serv.result
Instance Method Summary collapse
-
#initialize ⇒ Hit2acc
constructor
A new instance of Hit2acc.
-
#result ⇒ Object
<?xml version=‘1.0’ encoding=‘UTF-8’?> <H-Inv> <ACCESSION-NO>AK097327</ACCESSION-NO> </H-Inv>.
Methods included from Common
Constructor Details
Instance Method Details
#result ⇒ Object
<?xml version=‘1.0’ encoding=‘UTF-8’?> <H-Inv>
<ACCESSION-NO>AK097327</ACCESSION-NO>
</H-Inv>
146 147 148 |
# File 'lib/bio/io/hinv.rb', line 146 def result @xml.elements['//ACCESSION-NO'].text end |