Class: Ensembl::Core::TranslationAttrib

Inherits:
DBConnection show all
Defined in:
lib/bio-ensembl/core/activerecord.rb

Overview

The TranslationAttrib class provides an interface to the translation_attrib table. This table contains attribute values for the Translation class.

This class uses ActiveRecord to access data in the Ensembl database. See the general documentation of the Ensembl module for more information on what this means and what methods are available.

Examples:

translation = Translation.find(9979)
translation.translation_attribs.each do |attr|
puts attr.attr_type.name + "\t" + attr.value
end

Method Summary

Methods inherited from DBConnection

connect, ensemblgenomes_connect

Methods inherited from DBRegistry::Base

generic_connect, get_info, get_name_from_db