Class: Bio::GFFbrowser::Digest::LruCacheHelpers::SeekLinkedRecs
- Inherits:
-
Hash
- Object
- Hash
- Bio::GFFbrowser::Digest::LruCacheHelpers::SeekLinkedRecs
- Includes:
- Helpers::Logger
- Defined in:
- lib/bio/db/gff/digest/gfflrucache.rb
Overview
List of ids
Instance Method Summary collapse
- #add(id, rec) ⇒ Object
-
#validate_nonoverlapping ⇒ Object
validation is switched off for LruCache.
-
#validate_seqname ⇒ Object
validation is switched off for LruCache.
-
#validate_shared_parent ⇒ Object
validation is switched off for LruCache.
Methods included from Helpers::Logger
#debug, #error, #info, #log_sys_info, #warn
Instance Method Details
#add(id, rec) ⇒ Object
86 87 88 89 90 |
# File 'lib/bio/db/gff/digest/gfflrucache.rb', line 86 def add id, rec info "Adding #{rec.feature_type} <#{id}>" self[id] = [] if self[id] == nil self[id] << rec.io_seek end |
#validate_nonoverlapping ⇒ Object
validation is switched off for LruCache
95 96 |
# File 'lib/bio/db/gff/digest/gfflrucache.rb', line 95 def validate_nonoverlapping end |
#validate_seqname ⇒ Object
validation is switched off for LruCache
92 93 |
# File 'lib/bio/db/gff/digest/gfflrucache.rb', line 92 def validate_seqname end |
#validate_shared_parent ⇒ Object
validation is switched off for LruCache
98 99 |
# File 'lib/bio/db/gff/digest/gfflrucache.rb', line 98 def validate_shared_parent end |