class Bio::Hinv::HixCnt

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

Public Class Methods

new() click to toggle source
    # File lib/bio/io/hinv.rb
313 def initialize
314   @url = BASE_URI + "hix_cnt.php"
315 end

Public Instance Methods

result() click to toggle source

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

<LOCUS_CNT>36073</LOCUS_CNT>

</H-Inv>

    # File lib/bio/io/hinv.rb
321 def result
322   @xml.elements['//LOCUS_CNT'].text.to_i
323 end