module Mspire::Mass::All
provides hashes with both Amino Acids (uppercase letters) and elements (lowercased) along with common abbreviations
Constants
Public Class Methods
[](key)
click to toggle source
# File lib/mspire/mass/all.rb, line 35 def [](key) MONO[key] end
downcase_keys(hash)
click to toggle source
# File lib/mspire/mass/all.rb, line 13 def self.downcase_keys(hash) Hash[ hash.map {|key,val| [key.to_s.downcase, val] } ] end