Class: Enzyme
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Enzyme
- Defined in:
- lib/msf/models/enzyme.rb
Overview
ActiveRecord model of MSF Enzyme
Example:
Enzyme.find(1)
Enzyme.all.first.name
Class Method Summary collapse
Instance Method Summary collapse
- #abbreviation ⇒ Object
- #enzyme_id ⇒ Object
- #name ⇒ Object
- #non_seperator ⇒ Object
- #offset ⇒ Object
- #seperator ⇒ Object
Class Method Details
.primary_key ⇒ Object
11 12 13 |
# File 'lib/msf/models/enzyme.rb', line 11 def self.primary_key :EnzymeID end |
.table_name ⇒ Object
8 9 10 |
# File 'lib/msf/models/enzyme.rb', line 8 def self.table_name :Enzymes end |
Instance Method Details
#abbreviation ⇒ Object
20 21 22 |
# File 'lib/msf/models/enzyme.rb', line 20 def abbreviation self.Abbreviation end |
#enzyme_id ⇒ Object
14 15 16 |
# File 'lib/msf/models/enzyme.rb', line 14 def enzyme_id self.EnzymeID end |
#name ⇒ Object
17 18 19 |
# File 'lib/msf/models/enzyme.rb', line 17 def name self.Name end |
#non_seperator ⇒ Object
26 27 28 |
# File 'lib/msf/models/enzyme.rb', line 26 def non_seperator self.NonSeperator end |
#offset ⇒ Object
29 30 31 |
# File 'lib/msf/models/enzyme.rb', line 29 def offset self.Offset end |
#seperator ⇒ Object
23 24 25 |
# File 'lib/msf/models/enzyme.rb', line 23 def seperator self.Seperator end |