Class: Bio::FANTOM::MaXML::Annotation::DataSrc

Inherits:
String show all
Defined in:
lib/bio/db/fantom.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from String

#fill, #fold, #skip, #step, #to_aaseq, #to_naseq

Constructor Details

#initialize(text, href) ⇒ DataSrc

Returns a new instance of DataSrc.



357
358
359
360
# File 'lib/bio/db/fantom.rb', line 357

def initialize(text, href)
  super(text)
  @href = href
end

Instance Attribute Details

#hrefObject (readonly)

Returns the value of attribute href.



361
362
363
# File 'lib/bio/db/fantom.rb', line 361

def href
  @href
end