class Mspire::Isotope
Constants
- BY_ELEMENT
- ISOTOPES
- MEMBERS
- VERSION
Attributes
element_hash[RW]
Public Class Methods
by_element(element)
click to toggle source
# File lib/mspire/isotope.rb, line 7 def by_element(element) element_hash[element] end
Also aliased as: []
new(*args)
click to toggle source
# File lib/mspire/isotope.rb, line 22 def initialize(*args) MEMBERS.zip(args) {|k,val| self.send("#{k}=", val) } end