Class: Bio::Ucsc::Binding::BbiChromInfo

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/bio/ucsc/binding.rb

Overview

Pair of a name and a 32-bit integer. Used to assign IDs to chromosomes.

Instance Method Summary collapse

Instance Method Details

#[](value) ⇒ Object

allow for nested self referential *next pointer



86
87
88
89
90
91
92
# File 'lib/bio/ucsc/binding.rb', line 86

def [](value)
  if value==:next
    BbiChromInfo.new(self[:next_ptr])
  else
    super(value)
  end
end