Class: Bio::Lineage

Inherits:
Object
  • Object
show all
Defined in:
lib/bio-img_metadata.rb

Direct Known Subclasses

IMG::Lineage

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#class_nameObject

Returns the value of attribute class_name.



5
6
7
# File 'lib/bio-img_metadata.rb', line 5

def class_name
  @class_name
end

#domainObject

Returns the value of attribute domain.



5
6
7
# File 'lib/bio-img_metadata.rb', line 5

def domain
  @domain
end

#familyObject

Returns the value of attribute family.



5
6
7
# File 'lib/bio-img_metadata.rb', line 5

def family
  @family
end

#genusObject

Returns the value of attribute genus.



5
6
7
# File 'lib/bio-img_metadata.rb', line 5

def genus
  @genus
end

#kingdomObject

Returns the value of attribute kingdom.



5
6
7
# File 'lib/bio-img_metadata.rb', line 5

def kingdom
  @kingdom
end

#orderObject

Returns the value of attribute order.



5
6
7
# File 'lib/bio-img_metadata.rb', line 5

def order
  @order
end

#phylumObject

Returns the value of attribute phylum.



5
6
7
# File 'lib/bio-img_metadata.rb', line 5

def phylum
  @phylum
end

#speciesObject

Returns the value of attribute species.



5
6
7
# File 'lib/bio-img_metadata.rb', line 5

def species
  @species
end

#taxon_idObject

Returns the value of attribute taxon_id.



5
6
7
# File 'lib/bio-img_metadata.rb', line 5

def taxon_id
  @taxon_id
end

Instance Method Details

#genus_speciesObject



7
8
9
# File 'lib/bio-img_metadata.rb', line 7

def genus_species
  @genus+' '+@species
end