Sha256: 10d092685e20cf832aa55fdc303eca33c6c121b960c52e863a2471d08e3435a9

Contents?: true

Size: 197 Bytes

Versions: 1

Compression:

Stored size: 197 Bytes

Contents

module OpenTox

  module Algorithm 

    def self.run algorithm, parameters=nil
      klass,method = algorithm.split('.')
      Object.const_get(klass).send(method,parameters) 
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lazar-1.0.0 lib/algorithm.rb