Class: Ensembl::Core::MiscAttrib
- Inherits:
-
DBConnection
- Object
- ActiveRecord::Base
- DBRegistry::Base
- DBConnection
- Ensembl::Core::MiscAttrib
- Defined in:
- lib/bio-ensembl/core/activerecord.rb
Overview
The MiscAttrib class provides an interface to the misc_attrib table. It is the link between MiscFeature and AttribType.
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
976 977 978 |
# File 'lib/bio-ensembl/core/activerecord.rb', line 976 def to_s return self.attrib_type.code + ":" + self.value.to_s end |