Top Level Namespace
Defined Under Namespace
Modules: Mspire
Instance Method Summary collapse
-
#have_fftw3? ⇒ Boolean
currently can’t execute isotope dist code without this gem TODO: remove dep.
Instance Method Details
#have_fftw3? ⇒ Boolean
currently can’t execute isotope dist code without this gem TODO: remove dep.
60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'lib/mspire/molecular_formula.rb', line 60 def have_fftw3? begin response = require('fftw3') true rescue begin Kernel.const_get('FFTW3') rescue false end end end |