class Bio::Hinv::HitCnt

serv = ::new serv.query puts serv.result

Public Class Methods

new() click to toggle source
# File lib/bio/io/hinv.rb, line 156
def initialize
  @url = BASE_URI + "hit_cnt.php"
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, line 164
def result
  @xml.elements['//TRANSCRIPT_CNT'].text.to_i
end