Class: GO

Inherits:
Object
  • Object
show all
Defined in:
lib/gene_assembler/go.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code, name, obsolete) ⇒ GO

Returns a new instance of GO.



3
4
5
6
7
8
9
10
# File 'lib/gene_assembler/go.rb', line 3

def initialize(code,name,obsolete)
	@beg=nil
	@end=nil
	@source=nil
	@code=code
	@name=name
	@obsolete=obsolete
end

Instance Attribute Details

#begObject

Returns the value of attribute beg.



2
3
4
# File 'lib/gene_assembler/go.rb', line 2

def beg
  @beg
end

#codeObject

Returns the value of attribute code.



2
3
4
# File 'lib/gene_assembler/go.rb', line 2

def code
  @code
end

#endObject

Returns the value of attribute end.



2
3
4
# File 'lib/gene_assembler/go.rb', line 2

def end
  @end
end

#nameObject

Returns the value of attribute name.



2
3
4
# File 'lib/gene_assembler/go.rb', line 2

def name
  @name
end

#obsoleteObject

Returns the value of attribute obsolete.



2
3
4
# File 'lib/gene_assembler/go.rb', line 2

def obsolete
  @obsolete
end

#ontologyObject

Returns the value of attribute ontology.



2
3
4
# File 'lib/gene_assembler/go.rb', line 2

def ontology
  @ontology
end

#sourceObject

Returns the value of attribute source.



2
3
4
# File 'lib/gene_assembler/go.rb', line 2

def source
  @source
end