class Object

Public Instance Methods

have_fftw3?() click to toggle source

currently can't execute isotope dist code without this gem TODO: remove dep.

# 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