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
.187156
Methods included from Common
Constructor Details
#initialize ⇒ HitCnt
Returns a new instance of HitCnt.
157 158 159 |
# File 'lib/bio/io/hinv.rb', line 157 def initialize @url = BASE_URI + "hit_cnt.php" end |
Instance Method Details
#result ⇒ Object
165 166 167 |
# File 'lib/bio/io/hinv.rb', line 165 def result @xml.elements['//TRANSCRIPT_CNT'].text.to_i end |