Class: Bio::DAS::ENTRY_POINT

Inherits:
Object
  • Object
show all
Defined in:
lib/bio/io/das.rb

Direct Known Subclasses

TYPES

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeENTRY_POINT


327
328
329
# File 'lib/bio/io/das.rb', line 327

def initialize
  @segments = Array.new
end

Instance Attribute Details

#hrefObject

Returns the value of attribute href


331
332
333
# File 'lib/bio/io/das.rb', line 331

def href
  @href
end

#segmentsObject (readonly)

Returns the value of attribute segments


330
331
332
# File 'lib/bio/io/das.rb', line 330

def segments
  @segments
end

#versionObject

Returns the value of attribute version


331
332
333
# File 'lib/bio/io/das.rb', line 331

def version
  @version
end

Instance Method Details

#eachObject


333
334
335
336
337
# File 'lib/bio/io/das.rb', line 333

def each
  @segments.each do |x|
    yield x
  end
end