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

Returns a new instance of ENTRY_POINT.



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

def initialize
  @segments = Array.new
end

Instance Attribute Details

#hrefObject

Returns the value of attribute href.



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

def href
  @href
end

#segmentsObject (readonly)

Returns the value of attribute segments.



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

def segments
  @segments
end

#versionObject

Returns the value of attribute version.



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

def version
  @version
end

Instance Method Details

#eachObject



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

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