class ChemistryParadise::ShowElectronNegativityOfThisElement
Constants
- NAMESPACE
#¶ ↑
NAMESPACE
¶ ↑#¶ ↑
Public Class Methods
[](i = '')
click to toggle source
Public Instance Methods
input?()
click to toggle source
opnn()
click to toggle source
reset()
click to toggle source
run()
click to toggle source
set_input(i = '')
click to toggle source
try_to_detect_the_electron_negativity_of_the_passed_elements()
click to toggle source
#¶ ↑
try_to_detect_the_electron_negativity_of_the_passed_elements
¶ ↑
#¶ ↑
# File lib/chemistry_paradise/show_electron_negativity_of_this_element.rb, line 71 def try_to_detect_the_electron_negativity_of_the_passed_elements dataset = @dataset input?.each {|this_element| if dataset.has_key? this_element electron_negativity_value = dataset[this_element] e "#{simp(this_element.ljust(2))} has an electron negativity of "\ "#{sfancy(electron_negativity_value)}"\ " (in this Pauling electronegativity scale)" end } end