Class: MassPeak
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- MassPeak
- Defined in:
- lib/msf/models/mass_peak.rb
Overview
ActiveRecord model of MSF MassPeak
Example:
MassPeak.find(1)
MassPeak.first.charge
Class Method Summary collapse
Instance Method Summary collapse
- #charge ⇒ Object
- #file_id ⇒ Object
- #intensity ⇒ Object
- #mass ⇒ Object
- #mass_peak_id ⇒ Object
- #scan_numbers ⇒ Object
Class Method Details
.primary_key ⇒ Object
11 12 13 |
# File 'lib/msf/models/mass_peak.rb', line 11 def self.primary_key :MassPeakID end |
.table_name ⇒ Object
8 9 10 |
# File 'lib/msf/models/mass_peak.rb', line 8 def self.table_name :MassPeaks end |
Instance Method Details
#charge ⇒ Object
17 18 19 |
# File 'lib/msf/models/mass_peak.rb', line 17 def charge self.Charge end |
#file_id ⇒ Object
29 30 31 |
# File 'lib/msf/models/mass_peak.rb', line 29 def file_id self.FileID end |
#intensity ⇒ Object
20 21 22 |
# File 'lib/msf/models/mass_peak.rb', line 20 def intensity self.Intensity end |
#mass ⇒ Object
23 24 25 |
# File 'lib/msf/models/mass_peak.rb', line 23 def mass self.Mass end |
#mass_peak_id ⇒ Object
14 15 16 |
# File 'lib/msf/models/mass_peak.rb', line 14 def mass_peak_id self.MassPeakID end |
#scan_numbers ⇒ Object
26 27 28 |
# File 'lib/msf/models/mass_peak.rb', line 26 def scan_numbers self.ScanNumbers end |