Parent

Methods

Included Modules

Class/Module Index [+]

Quicksearch

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, line 157
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 165
def result
  @xml.elements['//TRANSCRIPT_CNT'].text.to_i
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.