Usage
Cauldron can generate a very limited range of simple ruby functions to solve supplied problem. The following example will print the following ruby code.
def function(var0)
var0 + 1
end
require 'cauldron'
pot = Cauldron::Pot.new
result = pot.solve(
[
{arguments: [7], response: 8},
{arguments: [10], response: 11}
]
)
puts result