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

- (ENTRY_POINT) initialize

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

- (Object) href

Returns the value of attribute href



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

def href
  @href
end

- (Object) segments (readonly)

Returns the value of attribute segments



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

def segments
  @segments
end

- (Object) version

Returns the value of attribute version



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

def version
  @version
end

Instance Method Details

- (Object) each



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

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