Move from lambda to Proc.new - there is no need to return anything.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>