Method: Bio::Fetch#maxids
- Defined in:
- lib/bio/io/fetch.rb
#maxids ⇒ Object
A dbfetch server will only return entries up to a given maximum number. This method retrieves that number from the server. As for the databases and formats methods, not all servers support the maxids method. This method is available on the EBI Dbfetch server (and on the bioruby dbfetch server).
Example:
server = Bio::Fetch::EBI.new
puts server.maxids # currently returns 200
Arguments: none
- Returns
-
number
228 229 230 |
# File 'lib/bio/io/fetch.rb', line 228 def maxids _get_single('info', 'maxids').to_i end |