Top Level Namespace

Defined Under Namespace

Modules: ChemistryParadise

Constant Summary

Constants included from ChemistryParadise

ChemistryParadise::GERMAN_NAMES_OF_ELEMENTS_TO_ELEMENT_SYMBOL, ChemistryParadise::LAST_UPDATE, ChemistryParadise::PROJECT_BASE_DIRECTORY, ChemistryParadise::VERSION

Constants included from ChemistryParadise::Shared

ChemistryParadise::Shared::ARRAY_TEST_THESE_MOLECULES

Constants included from ChemistryParadise::Constants

ChemistryParadise::Constants::ELECTRON_NEGATIVITY_CHART, ChemistryParadise::Constants::FILE_ATOMGEWICHTE, ChemistryParadise::Constants::FILE_ELECTRON_NEGATIVITY_CHART, ChemistryParadise::Constants::FILE_PERIODIC_TABLE_OF_THE_ELEMENTS, ChemistryParadise::Constants::N, ChemistryParadise::Constants::PLANK_CONSTANT, ChemistryParadise::Constants::PROPER_FILLORDER, ChemistryParadise::Constants::SPEED_OF_LIGHT

Instance Method Summary collapse

Methods included from ChemistryParadise

atomgewichte?, atomic_mass_of, calculate_atomic_mass_based_on_isotope_percentage, convert_parens, display_where_the_molmasses_are_kept, do_use_english, do_use_german, e, embeddable_interface, empirische_formel, file_atomgewichte, is_on_roebe?, kelvin, log, periodic_table?, project_base_directory?, remove_this_molecule_from, return_element_symbol_from_this_german_name, row1, row2, row3, row4, row5, row6, row7, row8, row9, sanitize, set_use_this_language, show_electron_negativity_chart, simplified_current_degrees, split_this_molecular_formula_into_a_hash, start_sinatra_interface, torr_to_bar, use_which_language?

Methods included from ChemistryParadise::Shared

#convert_parens, #is_number?, #periodic_table?, periodic_table?, #return_range_for_this_period, #square

Methods included from ChemistryParadise::Constants

#electron_negativity_chart?

Instance Method Details

#test_me(i) ⇒ Object

#

test_me

#


541
542
543
544
545
546
# File 'lib/chemistry_paradise/utility_scripts/calculate_atomic_mass.rb', line 541

def test_me(i)
  puts sprintf('  The mass number of %-4s is %3s',
    i,
    CalculateAtomicMass.new(i).result.to_s
  )
end