blob: 1b97584333a10f78a748d17560186169681f16ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
module OpenTox
module Algorithm
def self.run algorithm, arg1, arg2 #parameters
klass,method = algorithm.split('.')
Object.const_get(klass).send(method, arg1,arg2)
end
end
end
|