Module: Mspire::Mass::Common
- Extended by:
- MassProvider
- Defined in:
- lib/mspire/mass/common.rb
Constant Summary collapse
- MONO_STRING =
{ 'H2O' => %w(H H O).map {|el| Element::MONO_STRING[el] }.reduce(:+), 'OH' => %w(O H).map {|el| Element::MONO_STRING[el] }.reduce(:+), }
- AVG_STRING =
{ 'H2O' => %w(H H O).map {|el| Element::AVG_STRING[el] }.reduce(:+), 'OH' => %w(O H).map {|el| Element::AVG_STRING[el] }.reduce(:+), }