Class: Bio::Hinv::HitCnt
Overview
serv = Bio::Hinv::HitCnt.new serv.query puts serv.result
Instance Method Summary collapse
-
#initialize ⇒ HitCnt
constructor
A new instance of HitCnt.
-
#result ⇒ Object
<?xml version=‘1.0’ encoding=‘UTF-8’?> <H-Inv> <TRANSCRIPT_CNT>187156</TRANSCRIPT_CNT> </H-Inv>.
Methods included from Common
Constructor Details
Instance Method Details
#result ⇒ Object
<?xml version=‘1.0’ encoding=‘UTF-8’?> <H-Inv>
<TRANSCRIPT_CNT>187156</TRANSCRIPT_CNT>
</H-Inv>
165 166 167 |
# File 'lib/bio/io/hinv.rb', line 165 def result @xml.elements['//TRANSCRIPT_CNT'].text.to_i end |