swig.rb: Cleaned up ruby code of formula.