Class: Ensembl::Core::Xref
- Inherits:
-
DBConnection
- Object
- ActiveRecord::Base
- DBRegistry::Base
- DBConnection
- Ensembl::Core::Xref
- Defined in:
- lib/bio-ensembl/core/activerecord.rb
Overview
The Xref class provides an interface to the xref table. This table contains external references for objects in the database.
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.
Instance Method Summary collapse
Methods inherited from DBConnection
connect, ensemblgenomes_connect
Methods inherited from DBRegistry::Base
generic_connect, get_info, get_name_from_db
Instance Method Details
#to_s ⇒ Object
1480 1481 1482 |
# File 'lib/bio-ensembl/core/activerecord.rb', line 1480 def to_s return self.external_db.db_name.to_s + ":" + self.display_label end |