class Bio::Hinv::HitCnt

serv = Bio::Hinv::HitCnt.new serv.query puts serv.result

Public Class Methods

new() click to toggle source
    # File lib/bio/io/hinv.rb
156 def initialize
157   @url = BASE_URI + "hit_cnt.php"
158 end

Public Instance Methods

result() click to toggle source

<?xml version=‘1.0’ encoding=‘UTF-8’?> <H-Inv>

<TRANSCRIPT_CNT>187156</TRANSCRIPT_CNT>

</H-Inv>

    # File lib/bio/io/hinv.rb
164 def result
165   @xml.elements['//TRANSCRIPT_CNT'].text.to_i
166 end