Method: Bio::FlatFileIndex::FileIDs#cache_all
- Defined in:
- lib/bio/io/flatfile/index.rb
#cache_all ⇒ Object
608 609 610 611 612 613 614 615 616 617 618 619 620 621 |
# File 'lib/bio/io/flatfile/index.rb', line 608 def cache_all a = @hash.keys.collect do |k| if k =~ /\A#{Regexp.escape(@prefix)}(\d+)/ then $1.to_i else nil end end a.compact! a.each do |i| self[i] end a end |