Add ruby Closure