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 91 |
# File 'lib/bio/db/gff/digest/gfflrucache.rb', line 86 def add id, rec info "Adding #{rec.feature_type} (lru)",id raise "ID should not be empty" if id == nil or id == "" self[id] = [] if self[id] == nil self[id] << rec.io_seek end |
#validate_nonoverlapping ⇒ Object
validation is switched off for LruCache
96 97 |
# File 'lib/bio/db/gff/digest/gfflrucache.rb', line 96 def validate_nonoverlapping end |
#validate_seqname ⇒ Object
validation is switched off for LruCache
93 94 |
# File 'lib/bio/db/gff/digest/gfflrucache.rb', line 93 def validate_seqname end |
#validate_shared_parent ⇒ Object
validation is switched off for LruCache
99 100 |
# File 'lib/bio/db/gff/digest/gfflrucache.rb', line 99 def validate_shared_parent end |